diff options
author | 2017-06-12 18:19:21 +0530 | |
---|---|---|
committer | 2017-06-12 18:19:21 +0530 | |
commit | 928ebb23f8b2926240fc220791655614cc4192d2 (patch) | |
tree | fee1f4272e74c289c51638c63e083cdb3b602061 /yaksh/urls.py | |
parent | 0e8289f1acbfd8fcf4460835effc438e7516700a (diff) | |
download | online_test-928ebb23f8b2926240fc220791655614cc4192d2.tar.gz online_test-928ebb23f8b2926240fc220791655614cc4192d2.tar.bz2 online_test-928ebb23f8b2926240fc220791655614cc4192d2.zip |
Change views.py and urls.py
- Add new url for sending email
- Add new view function to send email to students
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index 825e5f5..068df7a 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -69,6 +69,7 @@ urlpatterns = [ url(r'manage/enroll/rejected/(?P<course_id>\d+)/(?P<user_id>\d+)/$', views.enroll, {'was_rejected': True}), url(r'manage/reject/(?P<course_id>\d+)/(?P<user_id>\d+)/$', views.reject), + url(r'manage/send_mail/(?P<course_id>\d+)/$', views.send_mail, name="send_mail"), url(r'manage/enrolled/reject/(?P<course_id>\d+)/(?P<user_id>\d+)/$', views.reject, {'was_enrolled': True}), url(r'manage/toggle_status/(?P<course_id>\d+)/$', views.toggle_course_status), |