Bases: stalker.core.models.entity.Entity
The user class is designed to hold data about a User in the system. It is derived from the entity.AuditEntity class
it adds these parameters to the AuditEntity class
Parameters: |
|
---|
Methods
__init__(**kwargs[, department, email, ...]) |
Attributes
created_by | gets and sets the User object who has created this |
date_created | gets and sets the datetime.datetime object which shows when |
date_updated | gets and sets the datetime.datetime object which shows when |
department | department othe user, is is a |
description | the description of the entity |
email of the user, accepts strings or unicodes | |
first_name | first name of the user, accepts string or unicode |
last_login | last login time of the user as a datetime.datetime instance |
last_name | last name of the user, accepts string or unicode |
login_name | login name of the user, accepts string or unicode |
name | the name of the entity |
nice_name | this is the nice name of the SimpleEntity, it is a string which is a little bit more formatted than the name attribute |
password | password of the user, it is scrambled before stored in the |
permission_groups | permission groups that this users is a member of, accepts |
projects | projects those the current user assigned to, accepts |
projects_lead | projects lead by this current user, accepts |
sequences_lead | sequences lead by this user, accpets |
tags | a list of Tag objects which shows the related tags to the |
tasks | tasks assigned to the current user, accepts |
updated_by | gets and sets the User object who has updated this |
gets and sets the User object who has created this AuditEntity
gets and sets the datetime.datetime object which shows when this object has been created
gets and sets the datetime.datetime object which shows when this object has been updated
department othe user, is is a :class:`~stalker.core.models.department.Department object
the description of the entity
last login time of the user as a datetime.datetime instance
the name of the entity
this is the nice name of the SimpleEntity, it is a string which is a little bit more formatted than the name attribute
a list of Tag objects which shows the related tags to the entity
gets and sets the User object who has updated this AuditEntity