summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2016-04-15 11:40:25 +0530
committeradityacp2016-05-04 22:47:34 +0530
commitd53feb82cdd74e25045171acf70e513729ba993c (patch)
tree70af917cb9909adea89367461ca8c6212b7440df /yaksh/urls.py
parent8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3 (diff)
downloadonline_test-d53feb82cdd74e25045171acf70e513729ba993c.tar.gz
online_test-d53feb82cdd74e25045171acf70e513729ba993c.tar.bz2
online_test-d53feb82cdd74e25045171acf70e513729ba993c.zip
rebase changes
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index b32bc36..4e72084 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -74,6 +74,7 @@ urlpatterns += [
views.enroll, {'was_rejected': True}),
url(r'manage/reject/(?P<course_id>\d+)/(?P<user_id>\d+)/$', views.reject),
url(r'manage/enrolled/reject/(?P<course_id>\d+)/(?P<user_id>\d+)/$',
+
views.reject, {'was_enrolled': True}),
url(r'manage/toggle_status/(?P<course_id>\d+)/$', views.toggle_course_status),
url(r'^ajax/questionpaper/(?P<query>.+)/$', views.ajax_questionpaper),
@@ -89,4 +90,8 @@ urlpatterns += [
url(r'^manage/addteacher/(?P<course_id>\d+)/$', views.add_teacher),
url(r'^manage/allotted_course/$', views.allotted_courses),
url(r'^manage/remove_teachers/(?P<course_id>\d+)/$', views.remove_teachers)
+ url(r'^manage/download_questions/$', views.download_questions),
+ url(r'^manage/upload_questions/$', views.upload_questions)
]
+
+