circuit
circuit social network code-documentation
Public Member Functions | List of all members
users.models.UserManager Class Reference

Inherits BaseUserManager.

Public Member Functions

def create_user (self, email, username, password)
 
def create_superuser (self, email, username, password)
 

Detailed Description

The UserManager class which manages users

Member Function Documentation

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: