summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-07-12 08:50:57 -0500
committerGitHub2016-07-12 08:50:57 -0500
commit73552024136f906f2af0c5f2737216f2db1310e9 (patch)
treebcf980d4422dec9bd896638999b77b5a4149839f /yaksh/urls.py
parentf1f9818a397a954acf3bce134ea278fafca81a08 (diff)
parent2725f202757694d966d00c413b327bb163fba67f (diff)
downloadonline_test-73552024136f906f2af0c5f2737216f2db1310e9.tar.gz
online_test-73552024136f906f2af0c5f2737216f2db1310e9.tar.bz2
online_test-73552024136f906f2af0c5f2737216f2db1310e9.zip
Merge pull request #115 from maheshgudi/master
minor changes in timezone and change password templates
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 7a41f95..cd97dd4 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -6,18 +6,27 @@ from django.contrib.auth.views import password_reset, password_reset_confirm,\
# app_name = 'yaksh'
urlpatterns = [
- url(r'^forgotpassword/$', password_reset, name="password_reset"),
+ url(r'^forgotpassword/$', password_reset,
+ {'template_name': 'register/password_reset_form.html'},
+ name="password_reset"),
url(r'^password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
- password_reset_confirm, name='password_reset_confirm'),
+ password_reset_confirm,
+ {'template_name': 'register/password_reset_confirm.html'},
+ name='password_reset_confirm'),
url(r'^password_reset/mail_sent/$', password_reset_done,
+ {'template_name': 'register/password_reset_done.html'},
name='password_reset_done'),
url(r'^password_reset/complete/$', password_reset_complete,
+ {'template_name': 'register/password_reset_complete.html'},
name='password_reset_complete'),
url(r'^changepassword/$', password_change,
+ {'template_name': 'register/password_change_form.html'},
name='password_change'),
url(r'^password_change/done/$', password_change_done,
+ {'template_name': 'register/password_change_done.html'},
name='password_change_done'),
]
+
urlpatterns += [
url(r'^$', views.index),
url(r'^login/$', views.user_login, name='login'),