aboutsummaryrefslogtreecommitdiffstats
path: root/account/models.py
Commit message (Collapse)AuthorAgeFilesLines
* fixes to account admin.site.registerWeitian LI2014-04-211-7/+0
|
* * added following methods for 'UserProfile' model:Weitian LI2014-04-211-1/+30
| | | | | | | | | o get_gender_value() o get_approved_value() o get_sponsored_value() o get_identify_value() * updated 'user_registered_callback' to save 'identify' field * updated 'account/profile.html' template to show identify infomation
* * added 'ResendEmailForm' formsWeitian LI2014-04-211-0/+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/+12
| | | | * updated related link in 'navbar.html'
* * added 'profile', 'profile_update' and 'profile_update_done' templatesWeitian LI2014-04-201-0/+1
| | | | | | | and implemented related views * added 'account.forms.UpdateProfileForm' * implemented 'account.views.UpdateProfileView' using class-based view * updated 'account.urls'
* fixed UserProfile model to use CharField choices in "is_approved" and ↵Weitian LI2014-04-201-2/+17
| | | | "is_sponsored"
* * implemented custom form and profile for registrationWeitian LI2014-04-201-2/+55
|
* * updated settings.py, added settings_email.pyWeitian LI2014-04-181-0/+12
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'