| Home | Trees | Indices | Help |
|---|
|
|
declarative_base() --+
|
User
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__tablename__ = 'user'
|
|||
id = Column(Integer, primary_key= True)
|
|||
name = Column(Unicode(60), unique= True)
|
|||
password = Column(String(128))
|
|||
email = Column(Unicode(256))
|
|||
super_user = Column(Boolean)
|
|||
creation_date = Column(DateTime())
|
|||
state = Column(Unicode(30))
|
|||
temp_token = Column(String(50))
|
|||
temp_token_valid_until = Column(DateTime(50))
|
|||
user_organizative_unit = Table('user_organizative_unit', metad
|
|||
organizative_units = relation('OrganizativeUnit', secondary= u
|
|||
|
|||
Returns current user. If there's no user logged in, returns anonymous user. |
|
|||
user_organizative_unit
|
organizative_units
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:30 2010 | http://epydoc.sourceforge.net |