diff options
author | Prabhu Ramachandran | 2016-09-08 08:37:07 +0530 |
---|---|---|
committer | GitHub | 2016-09-08 08:37:07 +0530 |
commit | 68db5b034de8e3fe021a84ed4f64b60679fa3255 (patch) | |
tree | 770b9067974b572e3378c40a613567c1c49f4029 /yaksh/urls.py | |
parent | 01e08dd15b59ce353043d541c9be81592cda3fe0 (diff) | |
parent | 6e2a0db4d67902cca52277d22dd7a67ebd059268 (diff) | |
download | online_test-68db5b034de8e3fe021a84ed4f64b60679fa3255.tar.gz online_test-68db5b034de8e3fe021a84ed4f64b60679fa3255.tar.bz2 online_test-68db5b034de8e3fe021a84ed4f64b60679fa3255.zip |
Merge pull request #132 from maheshgudi/course_changes
added add quiz button to each course
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
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<question_id>\d+)/$', views.edit_question), - url(r'^manage/addquiz/$', views.add_quiz, name='add_quiz'), - url(r'^manage/addquiz/(?P<quiz_id>\d+)/$', views.add_quiz, name='edit_quiz'), + 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), url(r'^manage/gradeuser/(?P<quiz_id>\d+)/$',views.grade_user), url(r'^manage/gradeuser/(?P<quiz_id>\d+)/(?P<user_id>\d+)/$',views.grade_user), |