summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-04-04 16:16:56 +0530
committeradityacp2017-04-04 16:16:56 +0530
commite3d289ca93047a1632a74ecfd5bc996433f3edb4 (patch)
treefdb69660ba853c4186ae2ca593be9257789423a9 /yaksh/urls.py
parent734ad94d177be8ad400eb6f97e98612ce099e56a (diff)
downloadonline_test-e3d289ca93047a1632a74ecfd5bc996433f3edb4.tar.gz
online_test-e3d289ca93047a1632a74ecfd5bc996433f3edb4.tar.bz2
online_test-e3d289ca93047a1632a74ecfd5bc996433f3edb4.zip
Change in views and urls
- Change monitor and grade_user function in views - Change url to get quiz id instead of question paper id
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index ad58985..9108b7b 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -40,7 +40,7 @@ urlpatterns = [
url(r'^manage/showquestionpapers/$', views.show_all_questionpapers),
url(r'^manage/showquestionpapers/(?P<questionpaper_id>\d+)/$',\
views.show_all_questionpapers),
- url(r'^manage/monitor/(?P<questionpaper_id>\d+)/$', views.monitor),
+ url(r'^manage/monitor/(?P<quiz_id>\d+)/$', views.monitor),
url(r'^manage/user_data/(?P<user_id>\d+)/(?P<questionpaper_id>\d+)/$',
views.user_data),
url(r'^manage/user_data/(?P<user_id>\d+)/$', views.user_data),