summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2018-06-26 13:13:22 +0530
committeradityacp2018-06-26 13:13:22 +0530
commit20b692ea468a280e3edb4a9e7f97543b5499025d (patch)
treeaff5b76b2bb3f7b3507e9fe4841762310939273d /yaksh/urls.py
parent4eb754c2e71922819de7390d1b4993a21763de3e (diff)
downloadonline_test-20b692ea468a280e3edb4a9e7f97543b5499025d.tar.gz
online_test-20b692ea468a280e3edb4a9e7f97543b5499025d.tar.bz2
online_test-20b692ea468a280e3edb4a9e7f97543b5499025d.zip
Changes in views, models, forms, urls, file_utils
- Add new view function to download course content - Add new attribute to Lesson model - Add new model methods to add course, module and lesson content - Add validation in forms to check for lesson video file format - Add functions in file_utils to add static files and templates to the zip file
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 1e1def6..6e6b8c1 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -200,5 +200,9 @@ urlpatterns = [
url(r'^manage/preview_questionpaper/(?P<questionpaper_id>\d+)/$',
views.preview_questionpaper, name="preview_questionpaper"),
url(r'^manage/get_user_status/(?P<course_id>\d+)/(?P<student_id>\d+)/$',
- views.get_user_data, name="get_user_data")
+ views.get_user_data, name="get_user_data"),
+ url(r'^manage/courses/download_course/(?P<course_id>\d+)/$',
+ views.download_course, name="download_course"),
+ url(r'^download_course/(?P<course_id>\d+)/$',
+ views.download_course, name="download_course"),
]