From 848f7945811f1d16bdf8d5e2a99d157d9ed9a18c Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Tue, 6 Sep 2016 12:44:49 +0530 Subject: added 'add new quiz' button to each course --- yaksh/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 69d7f87..daa6008 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -53,8 +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/addquiz/$', views.add_quiz, name='add_quiz'), - url(r'^manage/addquiz/(?P\d+)/$', views.add_quiz, name='edit_quiz'), + 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), url(r'^manage/gradeuser/(?P\d+)/$',views.grade_user), url(r'^manage/gradeuser/(?P\d+)/(?P\d+)/$',views.grade_user), -- cgit