summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index f7df456..b4bbb41 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -51,7 +51,9 @@ urlpatterns = [
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='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+)$',