summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-04-26 14:35:10 +0530
committeradityacp2017-04-26 14:35:10 +0530
commitfdbc43f2216661c6166590b7f81cf598976167a0 (patch)
tree97bf44f4f06f830205d433188d7893922fc88136 /yaksh/urls.py
parent66add60208394d9aebdc642564ad905d4fc096c4 (diff)
parent7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939 (diff)
downloadonline_test-fdbc43f2216661c6166590b7f81cf598976167a0.tar.gz
online_test-fdbc43f2216661c6166590b7f81cf598976167a0.tar.bz2
online_test-fdbc43f2216661c6166590b7f81cf598976167a0.zip
Merge https://github.com/fossee/online_test into email_verification
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 03e5354..fae8204 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -28,6 +28,8 @@ urlpatterns = [
url(r'^enroll_request/(?P<course_id>\d+)/$', views.enroll_request, name='enroll_request'),
url(r'^self_enroll/(?P<course_id>\d+)/$', views.self_enroll, name='self_enroll'),
url(r'^view_answerpaper/(?P<questionpaper_id>\d+)/$', views.view_answerpaper, name='view_answerpaper'),
+ url(r'^download/user_assignment/(?P<question_id>\d+)/(?P<user_id>\d+)/(?P<quiz_id>\d+)$',
+ views.download_assignment_file, name="download_user_assignment"),
url(r'^manage/$', views.prof_manage, name='manage'),
url(r'^manage/addquestion/$', views.add_question),
url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question),
@@ -42,7 +44,7 @@ urlpatterns = [
url(r'^manage/showquestionpapers/$', views.show_all_questionpapers),
url(r'^manage/showquestionpapers/(?P<questionpaper_id>\d+)/$',\
views.show_all_questionpapers),
- url(r'^manage/monitor/(?P<questionpaper_id>\d+)/$', views.monitor),
+ url(r'^manage/monitor/(?P<quiz_id>\d+)/$', views.monitor),
url(r'^manage/user_data/(?P<user_id>\d+)/(?P<questionpaper_id>\d+)/$',
views.user_data),
url(r'^manage/user_data/(?P<user_id>\d+)/$', views.user_data),
@@ -93,4 +95,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<quiz_id>\d+)/$',
+ views.download_assignment_file),
+ url(r'^manage/download/quiz_assignments/(?P<quiz_id>\d+)/$',
+ views.download_assignment_file)
]