summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2018-02-27 15:41:08 +0530
committeradityacp2018-02-27 15:41:08 +0530
commit0ae21e437775b056d346311bd9f50220e5d9fb28 (patch)
treed1b1ff94bbb85c89f54c942c0403d6041db05a3b /yaksh/urls.py
parent333859a8c1ab57e70ea57e92a22eaac6a1a1c0ac (diff)
downloadonline_test-0ae21e437775b056d346311bd9f50220e5d9fb28.tar.gz
online_test-0ae21e437775b056d346311bd9f50220e5d9fb28.tar.bz2
online_test-0ae21e437775b056d346311bd9f50220e5d9fb28.zip
Change in models.py, views.py, urls.py, test_views.py, courses.html
- Allow only deep cloning of a course - Remove tests for shallow course clone
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 473a854..b81c7b2 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -86,7 +86,7 @@ urlpatterns = [
views.show_statistics, name="show_statistics"),
url(r'^manage/download_quiz_csv/(?P<course_id>\d+)/(?P<quiz_id>\d+)/$',
views.download_quiz_csv, name="download_quiz_csv"),
- url(r'^manage/duplicate_course/(?P<copy_type>shallow|deep)/(?P<course_id>\d+)/$',
+ url(r'^manage/duplicate_course/(?P<course_id>\d+)/$',
views.duplicate_course, name='duplicate_course'),
url(r'manage/courses/$', views.courses, name='courses'),
url(r'manage/add_course/$', views.add_course, name='add_course'),