Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * added 'OverwriteStorage()' to overwrite previous uploaded files | Weitian LI | 2014-04-27 | 2 | -1/+87 |
| | | | | * overwrite 'save' method to delete previous uploaded files | ||||
* | * added model 'UserFile' and register to admin | Weitian LI | 2014-04-27 | 4 | -13/+164 |
| | | | | | | | | | * 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' | ||||
* | * updated 'profile_update' template: | Weitian LI | 2014-04-27 | 4 | -2/+109 |
| | | | | | | | o account_profile_update.css account_profile_update.js o added fields 'reason', 'transcript', 'supplement' o supported upload files (optional, dynamical formset) * updated urls.py of 'password_reset' view | ||||
* | * updated ALLOWED_CONTENT_TYPES | Weitian LI | 2014-04-27 | 2 | -13/+81 |
| | | | | * implemented ContentTypeRestrictedFileField based on FileField | ||||
* | * implemented 'password_reset' function based on django auth views | Weitian LI | 2014-04-26 | 8 | -15/+152 |
| | | | | | * added password_reset related templates and email templates * updated account urls.py | ||||
* | * added 'django-recaptcha' settings | Weitian LI | 2014-04-26 | 3 | -0/+84 |
| | | | | | * added 'ALLOWED_CONTENT_TYPES' to settings * updated 'settings_mysql' and 'settings_production' | ||||
* | * deleted 'Notice.publisher' field | Weitian LI | 2014-04-25 | 2 | -3/+2 |
| | | | | | * added 'blank=True' to 'NoticeAttachment.description' field * fixed attachment issue with 'list_notice.html' template | ||||
* | * installed 'django-recaptcha' | Weitian LI | 2014-04-25 | 3 | -1/+12 |
| | | | | * added 'captcha' field to UserRegForm | ||||
* | * added contents for 'accommodation', 'committee', 'sponsor' and 'traffic' pages | Weitian LI | 2014-04-25 | 4 | -6/+71 |
| | |||||
* | * app page: finished 'introduction' template page | Weitian LI | 2014-04-25 | 3 | -3/+158 |
| | | | | * added related introduction.css and introduction.js | ||||
* | * added blank templates of needed pages | Weitian LI | 2014-04-24 | 9 | -8/+178 |
| | | | | | * added urls in pages.urls * updated links in navbar.html | ||||
* | * added 'ADMINS' and 'MANAGERS' settings to settings_production.py | Weitian LI | 2014-04-24 | 5 | -0/+91 |
| | | | | * added templates 400, 404, 404 and 500 | ||||
* | * update display attachments in list_notice template | Weitian LI | 2014-04-23 | 2 | -6/+1 |
| | | | | * removed 'get_attachment_list' method from Notice model | ||||
* | added settings.py with mysql backend | Weitian LI | 2014-04-23 | 1 | -0/+179 |
| | |||||
* | added mysql-python | Weitian LI | 2014-04-23 | 1 | -0/+1 |
| | |||||
* | * implemented 'ListNoticeView' based on ListView | Weitian LI | 2014-04-23 | 7 | -3/+188 |
| | | | | | | * added list_notice template, css, urls * updated models and admin of app notice * updated navbar.html | ||||
* | * added urls and template for 'introduction' in app page | Weitian LI | 2014-04-23 | 3 | -4/+23 |
| | | | | * fixed page/views.py | ||||
* | added url to serve MEDIA_ROOT | Weitian LI | 2014-04-23 | 1 | -0/+4 |
| | |||||
* | * updated 'introduction' url to index.html | Weitian LI | 2014-04-22 | 2 | -2/+4 |
| | | | | * fixed comment in 'list_approved.html' | ||||
* | created settings_production.py and updated NOTES.txt | Weitian LI | 2014-04-22 | 2 | -0/+179 |
| | |||||
* | added robots.txt and favicon.ico to static | Weitian LI | 2014-04-22 | 2 | -0/+2 |
| | |||||
* | modified settings_email import to make it required | Weitian LI | 2014-04-22 | 1 | -4/+1 |
| | |||||
* | * added GenericRelation attachments field to 'Notice' model | Weitian LI | 2014-04-22 | 3 | -12/+8 |
| | | | | * removed 'demo.urls' from urls.py | ||||
* | * added column 'identify' to 'list_approved' view | Weitian LI | 2014-04-22 | 2 | -6/+7 |
| | | | | * updated navbar.html to always show 'list_approved' but login_required | ||||
* | removed app demo | Weitian LI | 2014-04-22 | 12 | -276/+0 |
| | |||||
* | * added 'MEDIA_ROOT' to settings.py | Weitian LI | 2014-04-21 | 3 | -2/+73 |
| | | | | | * implemented 'Notice', 'NoticeCategory', 'NoticeAttachment' models * implemented 'NoticeAdmin' with 'NoticeAttachmentInline' | ||||
* | fixes to account admin.site.register | Weitian LI | 2014-04-21 | 2 | -8/+8 |
| | |||||
* | * added following methods for 'UserProfile' model: | Weitian LI | 2014-04-21 | 2 | -1/+35 |
| | | | | | | | | | 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' forms | Weitian LI | 2014-04-21 | 9 | -21/+204 |
| | | | | | | | | * implemented 'ResendEmailView' class-based view and templates * added js code 'account_email_resend.js' Warning: cannot load static file located in app directory | ||||
* | * added zh_CN locale for django_skaschool and added 'LOCALE_PATHS' in ↵ | Weitian LI | 2014-04-21 | 3 | -0/+140 |
| | | | | settings.py | ||||
* | * implemented 'list_approved' view, added related template | Weitian LI | 2014-04-21 | 5 | -1/+85 |
| | | | | * updated related link in 'navbar.html' | ||||
* | updated README.txt | Weitian LI | 2014-04-21 | 1 | -6/+2 |
| | |||||
* | Merge branch 'master' of github.com:liweitianux/django_skaschool | Weitian LI | 2014-04-21 | 0 | -0/+0 |
|\ | |||||
| * | Delete README.md | Weitian LI | 2014-04-21 | 1 | -4/+0 |
| | | |||||
| * | Initial commit | Alvin Li | 2014-04-18 | 2 | -0/+27 |
| | |||||
* | added LICENSE: 2-clause BSD | Weitian LI | 2014-04-21 | 1 | -0/+23 |
| | |||||
* | added third-party css theme "bootstrap-glyphicons" | Weitian LI | 2014-04-21 | 5 | -0/+429 |
| | |||||
* | added NOTES.txt to record some notes and docs | Weitian LI | 2014-04-21 | 1 | -0/+5 |
| | |||||
* | * added 'profile', 'profile_update' and 'profile_update_done' templates | Weitian LI | 2014-04-20 | 7 | -27/+172 |
| | | | | | | | and implemented related views * added 'account.forms.UpdateProfileForm' * implemented 'account.views.UpdateProfileView' using class-based view * updated 'account.urls' | ||||
* | small fixes to "br" tag | Weitian LI | 2014-04-20 | 9 | -15/+63 |
| | |||||
* | disabled app south and removed migrations | Weitian LI | 2014-04-20 | 8 | -194/+1 |
| | |||||
* | added 'password_change' and 'password_change_done' views and templates | Weitian LI | 2014-04-20 | 3 | -4/+60 |
| | |||||
* | fixed UserProfile model to use CharField choices in "is_approved" and ↵ | Weitian LI | 2014-04-20 | 1 | -2/+17 |
| | | | | "is_sponsored" | ||||
* | * updated django_skaschool/settings.py | Weitian LI | 2014-04-20 | 5 | -3/+90 |
| | | | | | | o LOGIN_URL, LOGIN_REDIRECT_URL, LOGOUT_URL * added login/logout views to account urls.py * added account templates for login, logout, profile | ||||
* | small updated navbar.html and registration templates | Weitian LI | 2014-04-20 | 4 | -29/+16 |
| | |||||
* | * updated django_skaschool/settings.py | Weitian LI | 2014-04-20 | 3 | -7/+21 |
| | | | | | | o SITE_ID, LANGUAGE_CODE, TIME_ZONE o INSTALLED_APPS * updated top-level urls.py | ||||
* | * implemented custom form and profile for registration | Weitian LI | 2014-04-20 | 4 | -2/+148 |
| | |||||
* | * implemented the index page | Weitian LI | 2014-04-20 | 36 | -128/+658 |
| | | | | | | | | o base.html, navbar.html, favicon.html, index.html o added static files related to index page * performed south migrations * implemented registration templates * implemented regiration views and pages | ||||
* | * removed 'settings_email.py' and updated '.gitignore' | Weitian LI | 2014-04-18 | 2 | -13/+3 |
| | |||||
* | * updated settings.py, added settings_email.py | Weitian LI | 2014-04-18 | 43 | -8/+588 |
| | | | | | | * created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo' |