summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2018-01-15 16:30:26 +0530
committeradityacp2018-01-16 15:20:55 +0530
commit8006ffb4a5bd54aa960b24f1508d95844fa579de (patch)
tree5e03c42d8ec18d708b5e17c289310822c5581d51 /yaksh/urls.py
parent3abbc557c57eaf2f3d08222034f9a720a1e7a1ed (diff)
downloadonline_test-8006ffb4a5bd54aa960b24f1508d95844fa579de.tar.gz
online_test-8006ffb4a5bd54aa960b24f1508d95844fa579de.tar.bz2
online_test-8006ffb4a5bd54aa960b24f1508d95844fa579de.zip
Change in template, test_views, urls and views
- Allow teacher to edit questionpaper for a quiz - Add test to check if teacher is allowed to edit questionpaper for a quiz
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 b4bbb41..ecbd0d3 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -76,6 +76,8 @@ urlpatterns = [
name='design_questionpaper'),
url(r'^manage/designquestionpaper/(?P<quiz_id>\d+)/(?P<questionpaper_id>\d+)/$',
views.design_questionpaper, name='designquestionpaper'),
+ url(r'^manage/designquestionpaper/(?P<quiz_id>\d+)/(?P<questionpaper_id>\d+)/(?P<course_id>\d+)/$',
+ views.design_questionpaper, name='designquestionpaper'),
url(r'^manage/statistics/question/(?P<questionpaper_id>\d+)/(?P<course_id>\d+)/$',
views.show_statistics, name="show_statistics"),
url(r'^manage/statistics/question/(?P<questionpaper_id>\d+)/(?P<attempt_number>\d+)/(?P<course_id>\d+)/$',