summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-04-21 12:51:22 +0530
committerGitHub2020-04-21 12:51:22 +0530
commit01c9faa0abeedb748600c35a35bd6cf8124bd64d (patch)
treeb35aaa9c27b9b1499d5dc4b8166209edcbfde84b /yaksh/urls.py
parent4802a89acef7567c6a8861daab60924fe862367f (diff)
parent6ac89a48fcd349dcc9d097cb76fe9eda934ad19d (diff)
downloadonline_test-01c9faa0abeedb748600c35a35bd6cf8124bd64d.tar.gz
online_test-01c9faa0abeedb748600c35a35bd6cf8124bd64d.tar.bz2
online_test-01c9faa0abeedb748600c35a35bd6cf8124bd64d.zip
Merge pull request #688 from adityacp/fix_show_all_questions
Fix search and filters in questions and courses page
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 bdc3330..6085c51 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -124,7 +124,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'),
@@ -205,4 +205,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"),
]