aboutsummaryrefslogtreecommitdiffstats
path: root/account/admin.py
Commit message (Collapse)AuthorAgeFilesLines
* fixed problem with 'transcript_url' field of UserProfileAdminWeitian LI2014-04-301-4/+9
|
* * fixed attachments.short_description of UserProfileAdminWeitian LI2014-04-301-0/+1
| | | | * updated related zh_CN messages
* * added 'UserProfileAdmin' with actions and list_display:Weitian LI2014-04-301-1/+134
| | | | | | | | | | | | | | | | | | | | | | | o actions: - 'approve_users', - 'sponsor_users', - 'cancel_approve_users', - 'cancel_sponsor_users', - 'reset_approve_users', - 'reset_sponsor_users', o list_display: - 'user', - 'realname', - 'gender', - 'institute', - 'identify', - 'reason', - 'transcript_url', - 'supplement', - 'attachments', - 'is_approved', - 'is_sponsored', * updated zh_CN messages
* * added model 'UserFile' and register to adminWeitian LI2014-04-271-1/+2
| | | | | | | | | * updated 'UserProfile' model: o added fields 'reason', 'transcript', 'supplement' o used 'ContentTypeRestrictedFileField' with dynamical 'upload_to' * updated 'UpdateProfileView' to support formset * updated 'UpdateProfileForm' with new fields and clean method * added 'UserFileForm' and 'UserFileFormSet'
* fixes to account admin.site.registerWeitian LI2014-04-211-1/+8
|
* * updated settings.py, added settings_email.pyWeitian LI2014-04-181-0/+3
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'