users.User
: User¶
User(id, email, language, modified, created, start_date, end_date, password, last_login, username, user_type, initials, first_name, last_name, remarks, partner, verification_code, time_zone, date_format)
name |
type |
verbose name |
id |
BigAutoField |
ID |
EmailField |
e-mail address |
|
language |
LanguageField |
Language |
modified |
DateTimeField |
Modified |
created |
DateTimeField |
Created |
start_date |
DateField |
Start date |
end_date |
DateField |
End date |
password |
CharField |
password |
last_login |
DateTimeField |
last login |
username |
CharField |
Username |
user_type |
ChoiceListField |
User type |
initials |
CharField |
Initials |
first_name |
CharField |
First name |
last_name |
CharField |
Last name |
remarks |
TextField |
Remarks |
partner |
ForeignKey to Partner |
Partner |
verification_code |
CharField |
verification code |
time_zone |
ChoiceListField |
Time zone |
date_format |
ChoiceListField |
Date format |
person |
VirtualField |
Person |
company |
VirtualField |
Organization |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
created_natural |
VirtualField |
Created |
Master tables: users.AllUsers : Users, users.UsersOverview : Users, users.MySettings : Users
Slave tables: users.AuthoritiesGiven : Authorities given, users.AuthoritiesTaken : Authorities taken, users.SocialAuthsByUser : Third-party authorizations
Referenced from albums.File.user, checkdata.Problem.user, excerpts.Excerpt.user, ledger.LedgerInfo.user, ledger.Voucher.user, sheets.Report.user, shopping.Address.user, shopping.Cart.user, social_django.UserSocialAuth.user, uploads.Upload.user, users.Authority.authorized, users.Authority.user
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
e-mail address |
||
language |
Language |
|
modified |
Modified |
The time when this database object was last modified. |
created |
Created |
The time when this object was created. |
start_date |
Start date |
If start_date is given, then the user cannot sign in before that date. If end_date is given, then the user cannot sign in after that date. |
end_date |
End date |
|
password |
password |
|
last_login |
last login |
Not used in Lino. |
username |
Username |
Must be either unique or empty. Users with an empty username cannot sign in. |
user_type |
User type |
The user type assigned to this user. User accounts having this field empty cannot be used to sign in. |
initials |
Initials |
The nickname or initials of this user. This does not need to be unique but should be reasonably identifying. |
first_name |
First name |
|
last_name |
Last name |
|
remarks |
Remarks |
|
partner |
Partner |
The partner record with additional contact information about this user account. |
verification_code |
verification code |
A random string set for every new user. Used for online registration. When this is non empty, is_verified() returns False and the verify action is available. |
time_zone |
Time zone |
The time zone Lino should use in time fields or when displaying timestamps to this user. |
date_format |
Date format |
The date format to use when parsing or displaying dates. |
person |
Person |
A virtual read-only field that returns the Person MTI child of the partner (if it exists) and otherwise None. |
company |
Organization |
A virtual read-only field that returns the Company MTI child of the partner (if it exists) and otherwise None. |
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |
|
created_natural |
Created |