diff options
author | adityacp | 2017-04-04 16:16:56 +0530 |
---|---|---|
committer | adityacp | 2017-04-04 16:16:56 +0530 |
commit | e3d289ca93047a1632a74ecfd5bc996433f3edb4 (patch) | |
tree | fdb69660ba853c4186ae2ca593be9257789423a9 /yaksh/urls.py | |
parent | 734ad94d177be8ad400eb6f97e98612ce099e56a (diff) | |
download | online_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.py | 2 |
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), |