summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2020-04-08 15:55:59 +0530
committeradityacp2020-04-08 15:55:59 +0530
commitce3eb1dbbd924003489d01f4e98aba841cd803c0 (patch)
tree27bdd5eaee82c34094a70a9c5b35626a8d45315d /yaksh/urls.py
parent4802a89acef7567c6a8861daab60924fe862367f (diff)
downloadonline_test-ce3eb1dbbd924003489d01f4e98aba841cd803c0.tar.gz
online_test-ce3eb1dbbd924003489d01f4e98aba841cd803c0.tar.bz2
online_test-ce3eb1dbbd924003489d01f4e98aba841cd803c0.zip
Change templates, views, forms, models
- Allow to test, download and delete single question - Fix pagination for searching and filtering questions
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"),
]