summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2016-03-23 11:14:47 +0530
committeradityacp2016-04-15 13:57:44 +0530
commit234cf831861045796a7bcf4e08a46b0c38016f75 (patch)
tree4af3e5a066b3aee420d60eef4fcc5e7a67fdc037 /yaksh/urls.py
parent97bdb23fbacc3e625beb96efdf58431f42604a81 (diff)
downloadonline_test-234cf831861045796a7bcf4e08a46b0c38016f75.tar.gz
online_test-234cf831861045796a7bcf4e08a46b0c38016f75.tar.bz2
online_test-234cf831861045796a7bcf4e08a46b0c38016f75.zip
EditProfile, ChangePassword, StudentsEnrollment facility
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index b2f894f..584064d 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -1,7 +1,8 @@
from django.conf.urls import patterns, url
from yaksh import views
from django.contrib.auth.views import password_reset, password_reset_confirm,\
- password_reset_done, password_reset_complete
+ password_reset_done, password_reset_complete, password_change,\
+ password_change_done
urlpatterns = [
url(r'^forgotpassword/$', password_reset, name="password_reset"),
@@ -11,6 +12,8 @@ urlpatterns = [
name='password_reset_done'),
url(r'^password_reset/complete/$', password_reset_complete,
name='password_reset_complete'),
+ url(r'^changepassword/$', 'password_change', name='password_change'),
+ url(r'^password_change/done/$', 'password_change_done', name='password_change_done'),
]
urlpatterns += [
url(r'^$', views.index),
@@ -34,7 +37,6 @@ urlpatterns += [
views.skip),
url(r'^enroll_request/(?P<course_id>\d+)/$', views.enroll_request),
url(r'^self_enroll/(?P<course_id>\d+)/$', views.self_enroll),
-
url(r'^manage/$', views.prof_manage),
url(r'^manage/addquestion/$', views.add_question),
url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question),
@@ -74,4 +76,8 @@ urlpatterns += [
url(r'manage/toggle_status/(?P<course_id>\d+)/$', views.toggle_course_status),
url(r'^ajax/questionpaper/(?P<query>.+)/$', views.ajax_questionpaper),
url(r'^ajax/questions/filter/$', views.ajax_questions_filter),
+ url(r'^manage/editprofile/$', views.edit_profile),
+ url(r'^manage/viewprofile/$', views.view_profile),
+ url(r'^manage/enroll/(?P<course_id>\d+)', views.enroll)
]
+