summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-02-23 11:55:53 +0530
committerGitHub2017-02-23 11:55:53 +0530
commitb001bc98db69e1ef1926b0f2103bf5a291682f93 (patch)
tree1e5327b9b7434e0e36fd5b70bf9469e9b71c5919 /yaksh/urls.py
parentb3a47d8d4b90b4540876d3dbd1aa0c9c334d84e8 (diff)
parenta8392a2a9e62264af8ea096a4a5e99be6cd1b289 (diff)
downloadonline_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.tar.gz
online_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.tar.bz2
online_test-b001bc98db69e1ef1926b0f2103bf5a291682f93.zip
Merge pull request #227 from ankitjavalkar/fix-dashboard-logout
Add a new view for logout
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 5544088..ad58985 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -4,6 +4,7 @@ from yaksh import views
urlpatterns = [
url(r'^$', views.index),
url(r'^login/$', views.user_login, name='login'),
+ url(r'^logout/$', views.user_logout),
url(r'^quizzes/$', views.quizlist_user, name='quizlist_user'),
url(r'^quizzes/(?P<enrolled>\w+)/$', views.quizlist_user, name='quizlist_user'),
url(r'^results/$', views.results_user),