VUEDAUserManager
Overview
User manager that uses email as the unique identifier instead of username.
create_superuser
Create and save a superuser account. Raises ValueError if is_superuser is not True.
Signature
create_superuser(self, email, password, extra_fields)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes | |||
| yes | ||||
| password | no | None | ||
| extra_fields | no |
Source
server/vueda/user/models.py:57
create_user
Create and save a regular (non-superuser) account.
Signature
create_user(self, email, password, extra_fields)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes | |||
| yes | ||||
| password | no | None | ||
| extra_fields | no |
Source
server/vueda/user/models.py:52
use_in_migrations
Source
server/vueda/user/models.py:34