diff options
author | adityacp | 2017-12-14 11:58:01 +0530 |
---|---|---|
committer | adityacp | 2017-12-14 11:58:01 +0530 |
commit | 5d368b02d3fb8016084d431090b57a4e1aa18428 (patch) | |
tree | 08c32dc774bef3c2086ce9e2f4bd8f9ae81473b2 /yaksh/urls.py | |
parent | d2eb978e3ca51914b16655403bd74cc84d4eab28 (diff) | |
download | online_test-5d368b02d3fb8016084d431090b57a4e1aa18428.tar.gz online_test-5d368b02d3fb8016084d431090b57a4e1aa18428.tar.bz2 online_test-5d368b02d3fb8016084d431090b57a4e1aa18428.zip |
Change views.py and urls.py
- Add new views function to view course modules
- Add new url to view course modules
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index dada74f..716a7d0 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -42,6 +42,8 @@ urlpatterns = [ views.get_next_unit, name='next_unit'), url(r'^next_unit/(?P<course_id>\d+)/(?P<module_id>\d+)/(?P<current_unit_id>\d+)/(?P<first_unit>\d+)/$', views.get_next_unit, name='next_unit'), + url(r'^course_modules/(?P<course_id>\d+)/$', + views.course_modules, name='course_modules'), url(r'^manage/$', views.prof_manage, name='manage'), url(r'^manage/addquestion/$', views.add_question, name="add_question"), url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question, |