summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-03-31 16:37:07 +0530
committeradityacp2017-04-10 11:51:08 +0530
commitbd8c2c653a06e29dcf7a1a0103f7735f46f0c488 (patch)
treeaebb26c0e61f9d4050a2a44e0f9441de820956a6 /yaksh/urls.py
parent592353ba30178654975f4c64602414cac7f41a9d (diff)
downloadonline_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.tar.gz
online_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.tar.bz2
online_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.zip
Change in templates and js and urls
- Add urls to download quiz assignments in urls.p - Catch Http404 exception message in 404.html template - Add download assignment links for quiz in grade_user.html - Fix javascript validation in add_question.js
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 00b34e4..445b828 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -91,4 +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+)/$',
+ views.download_assignment_file),
+ url(r'^manage/download/quiz_assignments/(?P<questionpaper_id>\d+)/$',
+ views.download_assignment_file)
]