| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* added fields 'sjtu_id' & 'sjtu_initpass' to UserProfile model
* updated 'dump()' and 'dump_fieldnames()' method
* updated 'UserProfileAdmin' to show these fields
* added south migration 0004 for newly added two fields
|
|
|
|
|
|
|
|
|
| |
* 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 '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
|
|
|
|
|
|
| |
* updated ValidationError message and used named string of account/extra.py
* small changes to 'profile.html' and 'profile_update.html'
* added class Meta to notice/models.py/NoticeAttachment
|
|
|
|
|
| |
* updated models.py and added 'help_text' to transcript field
* using 'get_object_or_404' in views.py instead of simply get method
|
|
|
|
| |
* moved 'file_cleanup' function to extra.py
|
|
|
|
|
| |
o added 'login_on_activation' and connected to 'user_activated' signal
o updated 'activation_complete.html' template
|
|
|
|
|
|
| |
* added account_profile.css
* fixes to 'save' method of model UserProfile and UserFile
* fixes to 'UpdateProfileView' with formset 'instance'
|
|
|
|
| |
* overwrite 'save' method to delete previous uploaded files
|
|
|
|
|
|
|
|
|
| |
* 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'
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* implemented 'ResendEmailView' class-based view and templates
* added js code 'account_email_resend.js'
Warning:
cannot load static file located in app directory
|
|
|
|
| |
* updated related link in 'navbar.html'
|
|
|
|
|
|
|
| |
and implemented related views
* added 'account.forms.UpdateProfileForm'
* implemented 'account.views.UpdateProfileView' using class-based view
* updated 'account.urls'
|
|
|
|
| |
"is_sponsored"
|
| |
|
|
* created directories 'static' and 'templates'
* added app 'account', 'notice'
* added app 'demo'
|