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

Module models

source code

Classes [hide private]
  SiteProfileNotAvailable
  Permission
The permissions system provides a way to assign permissions to specific users and groups of users.
  Group
Groups are a generic way of categorizing users to apply permissions, or some other label, to those users.
  UserManager
  User
Users within the Django authentication system are represented by this model.
  Message
The message system is a lightweight way to queue messages for given users.
  AnonymousUser
Functions [hide private]
 
get_hexdigest(algorithm, salt, raw_password)
Returns a string of the hexdigest of the given plaintext password and salt using the given algorithm ('md5', 'sha1' or 'crypt').
source code
 
check_password(raw_password, enc_password)
Returns a boolean of whether the raw_password was correct.
source code
Variables [hide private]
  UNUSABLE_PASSWORD = '!'
Function Details [hide private]

check_password(raw_password, enc_password)

source code 

Returns a boolean of whether the raw_password was correct. Handles encryption formats behind the scenes.