aboutsummaryrefslogtreecommitdiffstats
path: root/account/extra.py
Commit message (Collapse)AuthorAgeFilesLines
* * enabled 'south' in 'INSTALLED_APPS'Weitian LI2014-05-201-0/+15
| | | | * added 'introspection_rules' of ContentTypeRestrictedFileField for south
* * updated transcript help_text of account/models.pyWeitian LI2014-04-291-2/+2
| | | | | | * 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
* * fixed FieldFile import problem of account/extra.pyWeitian LI2014-04-291-1/+2
| | | | | * updated models.py and added 'help_text' to transcript field * using 'get_object_or_404' in views.py instead of simply get method
* * included archive urlsWeitian LI2014-04-281-0/+16
| | | | * moved 'file_cleanup' function to extra.py
* * added 'OverwriteStorage()' to overwrite previous uploaded filesWeitian LI2014-04-271-0/+38
| | | | * overwrite 'save' method to delete previous uploaded files
* * updated ALLOWED_CONTENT_TYPESWeitian LI2014-04-271-0/+50
* implemented ContentTypeRestrictedFileField based on FileField