summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-04-10 16:15:59 +0530
committeradityacp2017-04-10 17:14:40 +0530
commit5623c1225f66831d5e5db2089218b7904c3124b6 (patch)
treede595d7b16794670075bac3564e5f3e3c89830bb /yaksh/urls.py
parent32911e9a094e7f91ca132f98927d110049c99401 (diff)
downloadonline_test-5623c1225f66831d5e5db2089218b7904c3124b6.tar.gz
online_test-5623c1225f66831d5e5db2089218b7904c3124b6.tar.bz2
online_test-5623c1225f66831d5e5db2089218b7904c3124b6.zip
Change download assignemnts to get files using quiz
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 445b828..4a96d08 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -91,8 +91,8 @@ urlpatterns = [
url(r'^manage/create_demo_course/$', views.create_demo_course),
url(r'^manage/courses/download_course_csv/(?P<course_id>\d+)/$',
views.download_course_csv),
- url(r'^manage/download/user_assignment/(?P<question_id>\d+)/(?P<user_id>\d+)/(?P<questionpaper_id>\d+)/$',
+ url(r'^manage/download/user_assignment/(?P<question_id>\d+)/(?P<user_id>\d+)/(?P<quiz_id>\d+)/$',
views.download_assignment_file),
- url(r'^manage/download/quiz_assignments/(?P<questionpaper_id>\d+)/$',
+ url(r'^manage/download/quiz_assignments/(?P<quiz_id>\d+)/$',
views.download_assignment_file)
]