Return to API Reference.
Form for creating a new user account.
Validates that the requested username and e-mail is not already in use. Also requires the password to be entered twice and the Terms of Service to be accepted.
Validates that the values entered into the two password fields match. Note that an error here will end up in non_field_errors() because it doesn’t apply to a single field.
Validate that the e-mail address is unique.
Validate that the username is alphanumeric and is not already in use. Also validates that the username is not listed in USERENA_FORBIDDEN_USERNAMES list.
Creates a new user and account. Returns the newly created user.
Add a Terms of Service button to the SignupForm.
A custom AuthenticationForm where the identification can be a e-mail address or username.
Checks for the identification and password.
If the combination can’t be found will raise an invalid signin error.