summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-11-23 10:46:00 +0530
committeradityacp2017-11-23 14:26:48 +0530
commite69b7bffb7a21ebd6468ae77ad462c7b85184f1a (patch)
tree3dc0dcb3b43721db7a366b5084534d8088b1e164 /yaksh/urls.py
parent4fc8565be63375b48a7a897a1701e264f4ccac66 (diff)
downloadonline_test-e69b7bffb7a21ebd6468ae77ad462c7b85184f1a.tar.gz
online_test-e69b7bffb7a21ebd6468ae77ad462c7b85184f1a.tar.bz2
online_test-e69b7bffb7a21ebd6468ae77ad462c7b85184f1a.zip
Change urls, views, template, test_views
- Fix view answer paper for student - Fix existing views test cases
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 8348666..4cbb087 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -32,7 +32,8 @@ urlpatterns = [
views.skip),
url(r'^enroll_request/(?P<course_id>\d+)/$', views.enroll_request, name='enroll_request'),
url(r'^self_enroll/(?P<course_id>\d+)/$', views.self_enroll, name='self_enroll'),
- url(r'^view_answerpaper/(?P<questionpaper_id>\d+)/$', views.view_answerpaper, name='view_answerpaper'),
+ 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'^quizzes/view_module/(?P<module_id>\d+)/(?P<course_id>\d+)/$',