summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py11
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'),