summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf/urls
diff options
context:
space:
mode:
authorAvadootNachankar <avadoot298@gmail.com>2015-03-11 15:27:32 +0530
committerAvadootNachankar <avadoot298@gmail.com>2015-03-11 15:27:32 +0530
commit1083d5772c0c664ff41b59c72fb8268f9a0b983a (patch)
tree4be17e4879924bac8304b576a202dec753e5fc33 /gnowsys-ndf/gnowsys_ndf/ndf/urls
parent08a5e8f1bc78e7d759edb98c7610349e9227ac0a (diff)
parent58e375da6356eab474fef7e355569a2489ae75ae (diff)
downloadgnowsys-1083d5772c0c664ff41b59c72fb8268f9a0b983a.tar.gz
Merge pull request #1066 from katkamrachana/mongokit
MIS Adding Units to Course in structure
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/ajax-urls.py1
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/ajax-urls.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/ajax-urls.py
index cc00c17..ad5a7c7 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/ajax-urls.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/ajax-urls.py
@@ -44,6 +44,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.ajax_views',
# Ajax-urls required for MIS --------------------------------
url(r'^get_students_for_batches/', 'get_students_for_batches', name='get_students_for_batches'),
+ url(r'^resources/', 'get_resources', name='get_resources'),
url(r'^get_anncourses_allstudents/', 'get_anncourses_allstudents', name='get_anncourses_allstudents'),
url(r'^get_courses/', 'get_courses', name='get_courses'),
url(r'^get_batches_with_acourse/', 'get_batches_with_acourse', name='get_batches_with_acourse'),
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py
index dfc1f88..e38b4b0 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/course.py
@@ -6,6 +6,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.course',
url(r'^/create/$', 'create_edit', name='create_edit'),
url(r'^/edit/(?P<node_id>[\w-]+)$', 'create_edit', name='create_edit'),
url(r'^/structure/create/(?P<node_id>[\w-]+)$', 'create_course_struct', name='create_course_struct'),
+ url(r'^/structure/units/$', 'add_units', name='add_units'),
url(r'^/course_detail/(?P<_id>[\w-]+)$', 'course_detail', name='course_detail'),
url(r'^/(?P<_id>[\w-]+)$', 'course_detail', name='course_detail'),
)