class documentation

class BaseUserManager(models.Manager):

Known subclasses: django.contrib.auth.models.UserManager

View In Hierarchy

Undocumented

Class Method normalize​_email Normalize the email address by lowercasing the domain part of it.
Method get​_by​_natural​_key Undocumented
Method make​_random​_password Generate a random password with the given length and given allowed_chars. The default value of allowed_chars does not have "I" or "O" or letters and digits that look similar -- just to avoid confusion.
@classmethod
def normalize_email(cls, email):
Normalize the email address by lowercasing the domain part of it.
def get_by_natural_key(self, username):

Undocumented

def make_random_password(self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789'):
Generate a random password with the given length and given allowed_chars. The default value of allowed_chars does not have "I" or "O" or letters and digits that look similar -- just to avoid confusion.