class documentation
class BaseUserManager(models.Manager): (source)
Known subclasses: django.contrib.auth.models.UserManager
Undocumented
Class Method | normalize |
Normalize the email address by lowercasing the domain part of it. |
Method | get |
Undocumented |
Method | make |
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. |
def make_random_password(self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789'):
(source)
¶
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.