Package django :: Package contrib :: Package auth :: Module models :: Class UserManager
[hide private]
[frames] | no frames]

Class UserManager

source code

db.models.Manager --+
                    |
                   UserManager

Instance Methods [hide private]
 
create_user(self, username, email, password=None)
Creates and saves a User with the given username, e-mail and password.
source code
 
make_random_password(self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')
Generates a random password with the given length and given allowed_chars
source code