seshat.apps.accounts.forms
Classes
Form for signing up a user. |
|
Form for adding or updating a profile. |
|
Form for adding or updating a task. |
Module Contents
- class seshat.apps.accounts.forms.CustomSignUpForm
Bases:
django.contrib.auth.forms.UserCreationFormForm for signing up a user.
- clean_email()
A method to clean the email field and check if it contains too many dots in the username part.
- Returns:
The email address if it is valid.
- Return type:
str
- Raises:
ValidationError – If the email address contains too many dots in the username part.