aboutsummaryrefslogtreecommitdiffstats
path: root/account/urls.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-27 02:00:01 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-27 02:00:01 +0800
commit9172b7f08a7dabde275253b47ad051600decbe7b (patch)
tree8a001b773cebb23821550d619170a28575f200fa /account/urls.py
parentc4d4764da9eb15322ab4207b5efd5f3dac36d75f (diff)
downloaddjango-skaschool-9172b7f08a7dabde275253b47ad051600decbe7b.tar.bz2
* updated 'profile_update' template:
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
Diffstat (limited to 'account/urls.py')
-rw-r--r--account/urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/account/urls.py b/account/urls.py
index ea6977b..8b68234 100644
--- a/account/urls.py
+++ b/account/urls.py
@@ -64,7 +64,9 @@ urlpatterns += patterns('django.contrib.auth.views',
name='password_change_done'),
## reset password
url(r'^password/reset/$', 'password_reset',
- {'template_name': 'account/password_reset_form.html'},
+ {'template_name': 'account/password_reset_form.html',
+ 'subject_template_name': 'account/password_reset_subject.txt',
+ 'email_template_name': 'account/password_reset_email.html',},
name='password_reset'),
# reset password done
url(r'^password/reset/done/$', 'password_reset_done',