Inherits BaseUserManager.
The UserManager class which manages users
def users.models.UserManager.create_superuser |
( |
|
self, |
|
|
|
email, |
|
|
|
username, |
|
|
|
password |
|
) |
| |
Creates and saves a superuser with the given email, username and password.
@param self: object - User's model object
@param email: email - user's email
@param username: string - user's username
@param password: string - user's password
@return object - created superuser
def users.models.UserManager.create_user |
( |
|
self, |
|
|
|
email, |
|
|
|
username, |
|
|
|
password |
|
) |
| |
Creates and saves a User with the given email, username and password.
@param self: object - User's model object
@param email: email - user's email
@param username: string - user's username
@param password: string - user's password
@return object - created user
The documentation for this class was generated from the following file:
- /Users/juancabello/Workspace/circuit/users/models.py