summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 72febc0..149e4d6 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -136,7 +136,7 @@ urlpatterns = [
views.reject, {'was_enrolled': True}, name="reject_user"),
url(r'manage/toggle_status/(?P<course_id>\d+)/$',
views.toggle_course_status, name="toggle_course_status"),
- url(r'^ajax/questions/filter/$', views.ajax_questions_filter,
+ url(r'^questions/filter$', views.questions_filter,
name="questions_filter"),
url(r'^editprofile/$', views.edit_profile, name='edit_profile'),
url(r'^viewprofile/$', views.view_profile, name='view_profile'),
@@ -217,4 +217,12 @@ urlpatterns = [
views.course_teachers, name="course_teachers"),
url(r'^manage/download/course/progress/(?P<course_id>\d+)',
views.download_course_progress, name="download_course_progress"),
+ url(r'^manage/question/download/(?P<question_id>\d+)',
+ views.download_question, name="download_question"),
+ url(r'^manage/question/test/(?P<question_id>\d+)',
+ views.test_question, name="test_question"),
+ url(r'^manage/question/delete/(?P<question_id>\d+)',
+ views.delete_question, name="delete_question"),
+ url(r'^manage/search/questions', views.search_questions_by_tags,
+ name="search_questions_by_tags"),
]