diff options
author | Prabhu Ramachandran | 2016-03-09 15:43:02 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2016-03-09 15:43:02 +0530 |
commit | ef3cd39ebdf9d9fc9011ba4bc470ec5018bb8077 (patch) | |
tree | df19f9ffcac549c1986728cd822fd4fe1bfea22a /yaksh/urls.py | |
parent | 4874eb1e66c12269fa75849048afd2c9f129d5e3 (diff) | |
parent | edf173722f9d14dd32cd8dba381ede5973b52a70 (diff) | |
download | online_test-ef3cd39ebdf9d9fc9011ba4bc470ec5018bb8077.tar.gz online_test-ef3cd39ebdf9d9fc9011ba4bc470ec5018bb8077.tar.bz2 online_test-ef3cd39ebdf9d9fc9011ba4bc470ec5018bb8077.zip |
Merge pull request #83 from prathamesh920/forgot_password
Forgot password
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index ad0a925..d74e244 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -1,6 +1,15 @@ from django.conf.urls import patterns, url -urlpatterns = patterns('yaksh.views', +urlpatterns = patterns('django.contrib.auth.views', + url(r'^forgotpassword/$', 'password_reset', name="password_reset"), + url(r'^password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', + 'password_reset_confirm', name='password_reset_confirm'), + url(r'^password_reset/mail_sent/$', 'password_reset_done', + name='password_reset_done'), + url(r'^password_reset/complete/$', 'password_reset_complete', + name='password_reset_complete'), +) +urlpatterns += patterns('yaksh.views', url(r'^$', 'index'), url(r'^login/$', 'user_login'), url(r'^quizzes/$', 'quizlist_user'), |