aboutsummaryrefslogtreecommitdiffstats
path: root/account/admin.py
Commit message (Collapse)AuthorAgeFilesLines
* * fixed the csv output format problem in 'admin/account/userprofile/csv'Weitian LI2014-05-241-10/+37
| | | | | * added 'account/csv_unicode.py' to provide Unicode CSV I/O support * used 'UnicodeWriter' in 'account/admin.py' userprofile_csv_view to generate csv format export
* * added 'is_checkin' field to account.models.UserProfileWeitian LI2014-05-201-3/+98
| | | | | | | | * added 'get_checkin_value', 'dump_fieldnames' and 'dump' methods to UserProfile model * generated south migrations for app 'account' * display two more columns (email, is_checkin) in UserProfileAdmin * added 'get_urls' and 'userprofile_csv_view' to UserProfileAdmin * updaed 'profile.html' with 'is_checkin' field
* 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'