summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorprathamesh2016-02-18 17:48:16 +0530
committerprathamesh2016-02-18 17:48:16 +0530
commitce4732b65c378a38cac5a504a606872ab25918ec (patch)
tree53e15d2f377fa7008c1cc8576cc1e1a6348ed3e0 /yaksh/urls.py
parent712f0cc181efc2ae3d52f5ee3d180bc099f4b793 (diff)
downloadonline_test-ce4732b65c378a38cac5a504a606872ab25918ec.tar.gz
online_test-ce4732b65c378a38cac5a504a606872ab25918ec.tar.bz2
online_test-ce4732b65c378a38cac5a504a606872ab25918ec.zip
Monitor shows latest attempt of a student for a given quiz
User data is shown as per the question paper/quiz and not all together. It also shows other attempts for the same question paper. And then grade user interface is as per question paper if nagivated via monitor interface.
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 66159f0..61222b8 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -28,6 +28,8 @@ urlpatterns = patterns('yaksh.views',
url(r'^manage/editquestion/$', 'edit_question'),
url(r'^manage/addquiz/(?P<quiz_id>\d+)/$', 'add_quiz'),
url(r'^manage/gradeuser/$', 'show_all_users'),
+ url(r'^manage/gradeuser/(?P<username>.*)/(?P<questionpaper_id>\d+)/$',
+ 'grade_user'),
url(r'^manage/gradeuser/(?P<username>.*)/$', 'grade_user'),
url(r'^manage/questions/$', 'show_all_questions'),
url(r'^manage/showquiz/$', 'show_all_quiz'),
@@ -36,6 +38,8 @@ urlpatterns = patterns('yaksh.views',
url(r'^manage/showquestionpapers/(?P<questionpaper_id>\d+)/$',\
'show_all_questionpapers'),
url(r'^manage/monitor/(?P<questionpaper_id>\d+)/$', 'monitor'),
+ url(r'^manage/user_data/(?P<username>.*)/(?P<questionpaper_id>\d+)/$',
+ 'user_data'),
url(r'^manage/user_data/(?P<username>.*)/$', 'user_data'),
url(r'^manage/designquestionpaper/$', 'design_questionpaper'),
url(r'^manage/designquestionpaper/(?P<questionpaper_id>\d+)/$',\