summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authormahesh2017-04-24 14:38:45 +0530
committermahesh2017-04-24 14:38:45 +0530
commit2c43a6b0555df1dea207bec88ef1f930aa66b0b9 (patch)
tree49192dbe0006154399c2b259f008f55111cf66ad /yaksh/urls.py
parent4ab90db99afafcf3d6ab91deeaf35e5f4874502b (diff)
parent7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939 (diff)
downloadonline_test-2c43a6b0555df1dea207bec88ef1f930aa66b0b9.tar.gz
online_test-2c43a6b0555df1dea207bec88ef1f930aa66b0b9.tar.bz2
online_test-2c43a6b0555df1dea207bec88ef1f930aa66b0b9.zip
Merge branch 'master' of https://github.com/fossee/online_test into kill_stray_processes
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 00b34e4..8ddfe67 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -26,6 +26,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),
@@ -40,7 +42,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),
@@ -91,4 +93,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)
]