From cb9d4c01d6287ab1288d0755d4f93d5320eb1d3a Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 7 Dec 2016 13:50:33 +0530 Subject: basic interface to add multiple testcases to a question --- yaksh/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/urls.py') 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\d+)/$', views.edit_question), + url(r'^manage/newquestion/$', views.new_question), + url(r'^manage/newquestion/(?P\d+)/$', views.new_question), url(r'^manage/addquiz/(?P\d+)/$', views.add_quiz, name='add_quiz'), url(r'^manage/addquiz/(?P\d+)/(?P\d+)/$', views.add_quiz, name='edit_quiz'), url(r'^manage/gradeuser/$', views.grade_user), -- cgit From e436ec35a4086a16208e30e1384ca0ebc8082570 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 19 Dec 2016 06:35:00 +0530 Subject: change in add question interface --- yaksh/urls.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 6fc83e4..036c6a3 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -52,9 +52,7 @@ urlpatterns += [ url(r'^view_answerpaper/(?P\d+)/$', views.view_answerpaper, name='view_answerpaper'), url(r'^manage/$', views.prof_manage, name='manage'), url(r'^manage/addquestion/$', views.add_question), - url(r'^manage/addquestion/(?P\d+)/$', views.edit_question), - url(r'^manage/newquestion/$', views.new_question), - url(r'^manage/newquestion/(?P\d+)/$', views.new_question), + url(r'^manage/addquestion/(?P\d+)/$', views.add_question), url(r'^manage/addquiz/(?P\d+)/$', views.add_quiz, name='add_quiz'), url(r'^manage/addquiz/(?P\d+)/(?P\d+)/$', views.add_quiz, name='edit_quiz'), url(r'^manage/gradeuser/$', views.grade_user), -- cgit