summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorankitjavalkar2018-05-16 17:53:55 +0530
committerankitjavalkar2018-07-13 13:00:35 +0530
commit26ca38c6243eaa1d94bca68481eb60b2276ab7b2 (patch)
tree0e8a60727b9a951bd85780275bd742c635d27f82 /yaksh/urls.py
parent661c9d82bb680e745cc6b498131a0793b954c436 (diff)
downloadonline_test-26ca38c6243eaa1d94bca68481eb60b2276ab7b2.tar.gz
online_test-26ca38c6243eaa1d94bca68481eb60b2276ab7b2.tar.bz2
online_test-26ca38c6243eaa1d94bca68481eb60b2276ab7b2.zip
Allow moderator to switch between student and moderator roles
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 6e6b8c1..8f3401b 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -8,6 +8,7 @@ urlpatterns = [
url(r'^update_email/$', views.update_email, name="update_email"),
url(r'^activate/(?P<key>.+)$', views.activate_user, name="activate"),
url(r'^new_activation/$', views.new_activation, name='new_activation'),
+ url(r'^toggle_moderator/$', views.toggle_moderator_role, name='toggle_moderator'),
url(r'^quizzes/$', views.quizlist_user, name='quizlist_user'),
url(r'^quizzes/(?P<enrolled>\w+)/$', views.quizlist_user,
name='quizlist_user'),