summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorprathamesh2016-12-07 13:50:33 +0530
committerprathamesh2016-12-07 13:50:33 +0530
commitcb9d4c01d6287ab1288d0755d4f93d5320eb1d3a (patch)
treef93f35ae17aad6d9a071c068e8eb73406df3d7d3 /yaksh/urls.py
parent7fab5de07a05cf8f84e7beb8b4c166c0398172be (diff)
downloadonline_test-cb9d4c01d6287ab1288d0755d4f93d5320eb1d3a.tar.gz
online_test-cb9d4c01d6287ab1288d0755d4f93d5320eb1d3a.tar.bz2
online_test-cb9d4c01d6287ab1288d0755d4f93d5320eb1d3a.zip
basic interface to add multiple testcases to a question
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index bb8cf2e..6fc83e4 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -53,6 +53,8 @@ urlpatterns += [
url(r'^manage/$', views.prof_manage, name='manage'),
url(r'^manage/addquestion/$', views.add_question),
url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.edit_question),
+ url(r'^manage/newquestion/$', views.new_question),
+ url(r'^manage/newquestion/(?P<question_id>\d+)/$', views.new_question),
url(r'^manage/addquiz/(?P<course_id>\d+)/$', views.add_quiz, name='add_quiz'),
url(r'^manage/addquiz/(?P<course_id>\d+)/(?P<quiz_id>\d+)/$', views.add_quiz, name='edit_quiz'),
url(r'^manage/gradeuser/$', views.grade_user),