summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorankitjavalkar2017-11-07 15:49:35 +0530
committerankitjavalkar2018-03-06 11:39:06 +0530
commit7a892b8c664a69bd054efc6c662281e839546b7d (patch)
tree426fc4d65d62e99c9609c1fe0b32c54bae134571 /yaksh/urls.py
parent91fa9c6a40e16f43d935db9641b6833605afc1e8 (diff)
downloadonline_test-7a892b8c664a69bd054efc6c662281e839546b7d.tar.gz
online_test-7a892b8c664a69bd054efc6c662281e839546b7d.tar.bz2
online_test-7a892b8c664a69bd054efc6c662281e839546b7d.zip
- Change function names and urls to 'preview_questionpaper'
- Add snippet to the questionpaper preview
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 3120705..b4da1c0 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -141,6 +141,7 @@ urlpatterns = [
url(r'^manage/courses/download_yaml_template/',
views.download_yaml_template, name="download_yaml_template"),
<<<<<<< HEAD
+<<<<<<< HEAD
url(r'^manage/download_sample_csv/',
views.download_sample_csv, name="download_sample_csv"),
url(r'^manage/courses/edit_lesson/$',
@@ -175,4 +176,6 @@ urlpatterns = [
views.course_status, name="course_status"),
url(r'^manage/download_questionpaper/(?P<questionpaper_id>\d+)/$',
views.download_questionpaper, name="download_questionpaper"),
+ url(r'^manage/preview_questionpaper/(?P<questionpaper_id>\d+)/$',
+ views.preview_questionpaper, name="preview_questionpaper"),
]