summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-05-04 11:13:10 +0530
committerPrabhu Ramachandran2016-05-04 11:13:10 +0530
commit03f0aa839e4d91a3d83d68d5301f1425f18cca73 (patch)
tree26ba7a6d92878844a25d988cb57112f287b7a85c /yaksh/urls.py
parent825f8464ef1b2853c029cc23bf7fb89f6a9c1c09 (diff)
parent78795446d89ae5c247f5424d70d652437c93cda6 (diff)
downloadonline_test-03f0aa839e4d91a3d83d68d5301f1425f18cca73.tar.gz
online_test-03f0aa839e4d91a3d83d68d5301f1425f18cca73.tar.bz2
online_test-03f0aa839e4d91a3d83d68d5301f1425f18cca73.zip
Merge pull request #92 from adityacp/Add_Teachers
Add teachers to a course
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 471a36b..ea1922d 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -84,5 +84,9 @@ urlpatterns += [
url(r'manage/enroll/rejected/(?P<course_id>\d+)/$',
views.enroll, {'was_rejected': True}),
url(r'manage/enrolled/reject/(?P<course_id>\d+)/$',
- views.reject, {'was_enrolled': True})
+ views.reject, {'was_enrolled': True}),
+ url(r'^manage/searchteacher/(?P<course_id>\d+)/$', views.search_teacher),
+ url(r'^manage/addteacher/(?P<course_id>\d+)/$', views.add_teacher),
+ url(r'^manage/allotted_course/$', views.allotted_courses),
+ url(r'^manage/remove_teachers/(?P<course_id>\d+)/$', views.remove_teachers)
]