aboutsummaryrefslogtreecommitdiffstats
path: root/account/views.py
Commit message (Collapse)AuthorAgeFilesLines
* * fixed FieldFile import problem of account/extra.pyWeitian LI2014-04-291-2/+3
| | | | | * updated models.py and added 'help_text' to transcript field * using 'get_object_or_404' in views.py instead of simply get method
* * updated 'list_approved.html' and related 'ListApprovedView'Weitian LI2014-04-271-1/+3
| | | | * small update to 'profile.html'
* * updated 'profile.html' to show new fieldsWeitian LI2014-04-271-8/+9
| | | | | | * added account_profile.css * fixes to 'save' method of model UserProfile and UserFile * fixes to 'UpdateProfileView' with formset 'instance'
* * added model 'UserFile' and register to adminWeitian LI2014-04-271-5/+40
| | | | | | | | | * 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'
* * added 'ResendEmailForm' formsWeitian LI2014-04-211-2/+17
| | | | | | | | * implemented 'ResendEmailView' class-based view and templates * added js code 'account_email_resend.js' Warning: cannot load static file located in app directory
* * implemented 'list_approved' view, added related templateWeitian LI2014-04-211-0/+21
| | | | * updated related link in 'navbar.html'
* * added 'profile', 'profile_update' and 'profile_update_done' templatesWeitian LI2014-04-201-1/+60
| | | | | | | and implemented related views * added 'account.forms.UpdateProfileForm' * implemented 'account.views.UpdateProfileView' using class-based view * updated 'account.urls'
* * implemented custom form and profile for registrationWeitian LI2014-04-201-0/+6
|
* * updated settings.py, added settings_email.pyWeitian LI2014-04-181-0/+3
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'