diff options
author | adityacp | 2016-09-16 20:28:21 +0530 |
---|---|---|
committer | adityacp | 2016-09-16 20:28:21 +0530 |
commit | bfd75a4b87339c5037ad2d412e45ee12b223dd02 (patch) | |
tree | da62b336a5b5681c4b0878a72170ee8d9f0bf037 /yaksh/urls.py | |
parent | 2efd65cb2dd276e1560c8993e13d9db95e6c8ba0 (diff) | |
parent | 5b2a6fe665a3add0916a255e5436841b820146ee (diff) | |
download | online_test-bfd75a4b87339c5037ad2d412e45ee12b223dd02.tar.gz online_test-bfd75a4b87339c5037ad2d412e45ee12b223dd02.tar.bz2 online_test-bfd75a4b87339c5037ad2d412e45ee12b223dd02.zip |
changed course template to view demo 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), |