diff options
author | adityacp | 2017-11-28 12:29:50 +0530 |
---|---|---|
committer | adityacp | 2017-11-28 12:29:50 +0530 |
commit | 9ea1d9e02f9395815669f3ab5f8c2e5cae768247 (patch) | |
tree | 39649b194d01670108913a361c5a10f6091ae29c /yaksh/urls.py | |
parent | ce02b277f90038d975e96879afabc4aaa6fbe167 (diff) | |
download | online_test-9ea1d9e02f9395815669f3ab5f8c2e5cae768247.tar.gz online_test-9ea1d9e02f9395815669f3ab5f8c2e5cae768247.tar.bz2 online_test-9ea1d9e02f9395815669f3ab5f8c2e5cae768247.zip |
Change in views.py and urls.py
- Change view function name from show_video to show_lesson
- Change add quiz, lesson, module view function
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index 4cbb087..dada74f 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -34,8 +34,8 @@ urlpatterns = [ url(r'^self_enroll/(?P<course_id>\d+)/$', views.self_enroll, name='self_enroll'), url(r'^view_answerpaper/(?P<questionpaper_id>\d+)/(?P<course_id>\d+)$', views.view_answerpaper, name='view_answerpaper'), - url(r'^show_video/(?P<lesson_id>\d+)/(?P<module_id>\d+)/(?P<course_id>\d+)/$', - views.show_video, name='show_video'), + url(r'^show_lesson/(?P<lesson_id>\d+)/(?P<module_id>\d+)/(?P<course_id>\d+)/$', + views.show_lesson, name='show_lesson'), url(r'^quizzes/view_module/(?P<module_id>\d+)/(?P<course_id>\d+)/$', views.view_module, name='view_module'), url(r'^next_unit/(?P<course_id>\d+)/(?P<module_id>\d+)/(?P<current_unit_id>\d+)/$', |