A registered user.
Parameter | Type | Description |
---|---|---|
id |
int | Identifies the user in the data base. |
email |
User’s email address. Must be unique. | |
display_name |
string | User’s display name. Must be unique. |
is_active |
boolean | Indicates if the user is active. |
is_superuser |
boolean | Indicates if the user is super user. |
reset_password(password)
Resets the user’s password.
create_user(email, display_name, password=None, is_active=True)
Creates a user.
User
create_superuser(email, display_name, password)
Creates a super user.
User