summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
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+)/$',\