class documentation

class UserManager(BaseUserManager):

View In Hierarchy

Undocumented

Method create_superuser Create a superuser, making sure they have all necessary rights.
Method create_user Clean email input and set staff status and is_active to False.
Method _create_user Create and save user with the fields for email and password.
def create_superuser(self, email, password, **extra_fields):

Create a superuser, making sure they have all necessary rights.

def create_user(self, email, password, **extra_fields):

Clean email input and set staff status and is_active to False.

def _create_user(self, email, password, **extra_fields):

Create and save user with the fields for email and password.