summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2017-05-15 15:01:10 +0530
committeradityacp2017-05-15 15:01:10 +0530
commitbd255f751dbff97d92e9c34652af37c67b62b2ff (patch)
tree62fe8255849adf064099c18fb50b7a9be87df988 /yaksh/urls.py
parentdb8aa57e9a3caf9b2ed080b440703d634abd14a1 (diff)
downloadonline_test-bd255f751dbff97d92e9c34652af37c67b62b2ff.tar.gz
online_test-bd255f751dbff97d92e9c34652af37c67b62b2ff.tar.bz2
online_test-bd255f751dbff97d92e9c34652af37c67b62b2ff.zip
Change urls.py and views.py
- Change views to send mails to students enrolled in a course - Add reverse resolution in urls.py
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 e4676d3..825e5f5 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -79,7 +79,7 @@ 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}, name="reject_users"),
url(r'^manage/searchteacher/(?P<course_id>\d+)/$', views.search_teacher),
url(r'^manage/addteacher/(?P<course_id>\d+)/$', views.add_teacher, name='add_teacher'),
url(r'^manage/remove_teachers/(?P<course_id>\d+)/$', views.remove_teachers, name='remove_teacher'),