summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-01-03 22:23:19 +0530
committerGitHub2018-01-03 22:23:19 +0530
commitfeb295b4107a95621e9430f5c7042cfde4674cc0 (patch)
tree098c7cdc1e97d5e7bd859e35107a4733e800a586 /yaksh/urls.py
parente566d54239efcb46f253e324b7295a676378f656 (diff)
parent4310d5905a9cc702198e42830c1b670957cd7360 (diff)
downloadonline_test-feb295b4107a95621e9430f5c7042cfde4674cc0.tar.gz
online_test-feb295b4107a95621e9430f5c7042cfde4674cc0.tar.bz2
online_test-feb295b4107a95621e9430f5c7042cfde4674cc0.zip
Merge pull request #408 from prathamesh920/exercise
Exercise feature in video lessons
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 716a7d0..b4bbb41 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -49,6 +49,11 @@ urlpatterns = [
url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question,
name="add_question"),
url(r'^manage/addquiz/$', views.add_quiz, name='add_quiz'),
+ url(r'^manage/add_exercise/$', views.add_exercise, name='add_exercise'),
+ url(r'^manage/add_exercise/(?P<quiz_id>\d+)/$', views.add_exercise,
+ name='edit_exercise'),
+ url(r'^manage/add_exercise/(?P<quiz_id>\d+)/(?P<course_id>\d+)/$',
+ views.add_exercise, name='edit_exercise'),
url(r'^manage/addquiz/(?P<quiz_id>\d+)/$',
views.add_quiz, name='edit_quiz'),
url(r'^manage/addquiz/(?P<quiz_id>\d+)/(?P<course_id>\d+)$',