diff options
author | katkamrachana <katkam.rachana@gmail.com> | 2015-05-05 16:13:30 +0530 |
---|---|---|
committer | katkamrachana <katkam.rachana@gmail.com> | 2015-05-05 16:13:30 +0530 |
commit | 592906b3a3f4a4cc6f3260b5eb2a419b12989fd1 (patch) | |
tree | 6707f8ab8a1c3924563ad7d232193d8f79a51b4e /gnowsys-ndf/gnowsys_ndf/ndf/urls | |
parent | 5e973a41271c245a4836daaa1049675c1cbd7fff (diff) | |
download | gnowsys-592906b3a3f4a4cc6f3260b5eb2a419b12989fd1.tar.gz |
Deleting courses
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py index 499572c..1a5d1e8 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py @@ -23,6 +23,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.course', url(r'^/create_edit_unit/', 'create_edit_unit', name='create_edit_unit'), url(r'^/change_node_name/$', 'change_node_name', name='change_node_name'), url(r'^/change_order/$', 'change_order', name='change_order'), - url(r'^/delete/$', 'delete_from_course_structure', name='delete_from_cs'), + url(r'^/delete_from_structure/$', 'delete_from_course_structure', name='delete_from_cs'), + url(r'^/delete/(?P<node_id>[\w-]+)$', 'delete_course', name='del_course'), url(r'^/enroll/$', 'enroll_generic', name='course_enroll'), ) |