aboutsummaryrefslogtreecommitdiffstats
path: root/account/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* Validate username field on registrationWeitian LI2014-06-071-1/+23
| | | | | | * validate username with regex on registration (bootstrap3 frontent does not handle regex correctly. XXX) -> account/forms.py * small update to registration page title display style
* Fixed a type 'identify' and updated 'list_approved' display contentsWeitian LI2014-06-031-8/+7
| | | | | | | | | * changed 'identify' to 'identity' in Model 'UserProfile' * updated forms.py, admin.py, profile.html related to 'identity' * added South migration for renaming field 'identify' to 'identity' * updated display contents of 'list_approved': removed 'identity' column * updated 'institute' field name to 'institute (and major)' * updated related translations
* * added model 'UserFile' and register to adminWeitian LI2014-04-271-2/+62
| | | | | | | | | * 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'
* * installed 'django-recaptcha'Weitian LI2014-04-251-1/+5
| | | | * added 'captcha' field to UserRegForm
* * added 'ResendEmailForm' formsWeitian LI2014-04-211-18/+69
| | | | | | | | * implemented 'ResendEmailView' class-based view and templates * added js code 'account_email_resend.js' Warning: cannot load static file located in app directory
* * added 'profile', 'profile_update' and 'profile_update_done' templatesWeitian LI2014-04-201-0/+14
| | | | | | | 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/+40