diff options
author | adityacp | 2018-06-26 13:13:22 +0530 |
---|---|---|
committer | adityacp | 2018-06-26 13:13:22 +0530 |
commit | 20b692ea468a280e3edb4a9e7f97543b5499025d (patch) | |
tree | aff5b76b2bb3f7b3507e9fe4841762310939273d /yaksh/urls.py | |
parent | 4eb754c2e71922819de7390d1b4993a21763de3e (diff) | |
download | online_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.py | 6 |
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"), ] |