Logo Search packages:      
Sourcecode: zine version File versions  Download package

zine::models::User Class Reference

Inheritance diagram for zine::models::User:

zine::models::AnonymousUser

List of all members.


Detailed Description

Represents an user.

If you change something on this model, even default values, keep in mind
that the websetup does not use this model to create the admin account
because at that time the Zine system is not yet ready. Also update
the code in `zine.websetup.WebSetup.start_setup`.

Definition at line 140 of file models.py.


Public Member Functions

def __init__
def __repr__
def check_password
def disable
def disabled
def get_url_values
def has_privilege
def is_admin
def is_manager
def privileges
def set_password

Public Attributes

 description
 display_name
 email
 extra
 is_author
 pw_hash
 real_name
 username
 www

Static Public Attributes

tuple display_name = property(_get_display_name, _set_display_name)
 is_somebody = True
tuple own_privileges = privilege_attribute('_own_privileges')
tuple query = db.query_property(UserQuery)

Private Member Functions

def _get_display_name
def _set_display_name

Private Attributes

 _display_name

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index