aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * added 'OverwriteStorage()' to overwrite previous uploaded filesWeitian LI2014-04-272-1/+87
| | | | * overwrite 'save' method to delete previous uploaded files
* * added model 'UserFile' and register to adminWeitian LI2014-04-274-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 LI2014-04-274-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_TYPESWeitian LI2014-04-272-13/+81
| | | | * implemented ContentTypeRestrictedFileField based on FileField
* * implemented 'password_reset' function based on django auth viewsWeitian LI2014-04-268-15/+152
| | | | | * added password_reset related templates and email templates * updated account urls.py
* * added 'django-recaptcha' settingsWeitian LI2014-04-263-0/+84
| | | | | * added 'ALLOWED_CONTENT_TYPES' to settings * updated 'settings_mysql' and 'settings_production'
* * deleted 'Notice.publisher' fieldWeitian LI2014-04-252-3/+2
| | | | | * added 'blank=True' to 'NoticeAttachment.description' field * fixed attachment issue with 'list_notice.html' template
* * installed 'django-recaptcha'Weitian LI2014-04-253-1/+12
| | | | * added 'captcha' field to UserRegForm
* * added contents for 'accommodation', 'committee', 'sponsor' and 'traffic' pagesWeitian LI2014-04-254-6/+71
|
* * app page: finished 'introduction' template pageWeitian LI2014-04-253-3/+158
| | | | * added related introduction.css and introduction.js
* * added blank templates of needed pagesWeitian LI2014-04-249-8/+178
| | | | | * added urls in pages.urls * updated links in navbar.html
* * added 'ADMINS' and 'MANAGERS' settings to settings_production.pyWeitian LI2014-04-245-0/+91
| | | | * added templates 400, 404, 404 and 500
* * update display attachments in list_notice templateWeitian LI2014-04-232-6/+1
| | | | * removed 'get_attachment_list' method from Notice model
* added settings.py with mysql backendWeitian LI2014-04-231-0/+179
|
* added mysql-pythonWeitian LI2014-04-231-0/+1
|
* * implemented 'ListNoticeView' based on ListViewWeitian LI2014-04-237-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 pageWeitian LI2014-04-233-4/+23
| | | | * fixed page/views.py
* added url to serve MEDIA_ROOTWeitian LI2014-04-231-0/+4
|
* * updated 'introduction' url to index.htmlWeitian LI2014-04-222-2/+4
| | | | * fixed comment in 'list_approved.html'
* created settings_production.py and updated NOTES.txtWeitian LI2014-04-222-0/+179
|
* added robots.txt and favicon.ico to staticWeitian LI2014-04-222-0/+2
|
* modified settings_email import to make it requiredWeitian LI2014-04-221-4/+1
|
* * added GenericRelation attachments field to 'Notice' modelWeitian LI2014-04-223-12/+8
| | | | * removed 'demo.urls' from urls.py
* * added column 'identify' to 'list_approved' viewWeitian LI2014-04-222-6/+7
| | | | * updated navbar.html to always show 'list_approved' but login_required
* removed app demoWeitian LI2014-04-2212-276/+0
|
* * added 'MEDIA_ROOT' to settings.pyWeitian LI2014-04-213-2/+73
| | | | | * implemented 'Notice', 'NoticeCategory', 'NoticeAttachment' models * implemented 'NoticeAdmin' with 'NoticeAttachmentInline'
* fixes to account admin.site.registerWeitian LI2014-04-212-8/+8
|
* * added following methods for 'UserProfile' model:Weitian LI2014-04-212-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' formsWeitian LI2014-04-219-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 LI2014-04-213-0/+140
| | | | settings.py
* * implemented 'list_approved' view, added related templateWeitian LI2014-04-215-1/+85
| | | | * updated related link in 'navbar.html'
* updated README.txtWeitian LI2014-04-211-6/+2
|
* Merge branch 'master' of github.com:liweitianux/django_skaschoolWeitian LI2014-04-210-0/+0
|\
| * Delete README.mdWeitian LI2014-04-211-4/+0
| |
| * Initial commitAlvin Li2014-04-182-0/+27
|
* added LICENSE: 2-clause BSDWeitian LI2014-04-211-0/+23
|
* added third-party css theme "bootstrap-glyphicons"Weitian LI2014-04-215-0/+429
|
* added NOTES.txt to record some notes and docsWeitian LI2014-04-211-0/+5
|
* * added 'profile', 'profile_update' and 'profile_update_done' templatesWeitian LI2014-04-207-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" tagWeitian LI2014-04-209-15/+63
|
* disabled app south and removed migrationsWeitian LI2014-04-208-194/+1
|
* added 'password_change' and 'password_change_done' views and templatesWeitian LI2014-04-203-4/+60
|
* fixed UserProfile model to use CharField choices in "is_approved" and ↵Weitian LI2014-04-201-2/+17
| | | | "is_sponsored"
* * updated django_skaschool/settings.pyWeitian LI2014-04-205-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 templatesWeitian LI2014-04-204-29/+16
|
* * updated django_skaschool/settings.pyWeitian LI2014-04-203-7/+21
| | | | | | o SITE_ID, LANGUAGE_CODE, TIME_ZONE o INSTALLED_APPS * updated top-level urls.py
* * implemented custom form and profile for registrationWeitian LI2014-04-204-2/+148
|
* * implemented the index pageWeitian LI2014-04-2036-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 LI2014-04-182-13/+3
|
* * updated settings.py, added settings_email.pyWeitian LI2014-04-1843-8/+588
| | | | | | * created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'