From 171a82aa3ef07fc9344c8c5b42542bec0a3ca5ab Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 30 Mar 2017 18:10:09 +0530 Subject: Multiple changes to Course: - Allow a start and end time for Course enrollment - Allow Course to be editable --- yaksh/urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index ad58985..05d167e 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -56,6 +56,7 @@ urlpatterns = [ views.download_csv), url(r'manage/courses/$', views.courses, name='courses'), url(r'manage/add_course/$', views.add_course, name='add_course'), + url(r'manage/edit_course/(?P\d+)$', views.edit_course, name='edit_course'), url(r'manage/course_detail/(?P\d+)/$', views.course_detail, name='course_detail'), url(r'manage/enroll/(?P\d+)/(?P\d+)/$', views.enroll), url(r'manage/enroll/rejected/(?P\d+)/(?P\d+)/$', -- cgit From 1a6653567bdf58b5b70e874822cae6a1116b942f Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 5 Apr 2017 18:31:56 +0530 Subject: Add multiple fixes based on code review --- yaksh/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 05d167e..00b34e4 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -56,7 +56,7 @@ urlpatterns = [ views.download_csv), url(r'manage/courses/$', views.courses, name='courses'), url(r'manage/add_course/$', views.add_course, name='add_course'), - url(r'manage/edit_course/(?P\d+)$', views.edit_course, name='edit_course'), + url(r'manage/edit_course/(?P\d+)$', views.add_course, name='edit_course'), url(r'manage/course_detail/(?P\d+)/$', views.course_detail, name='course_detail'), url(r'manage/enroll/(?P\d+)/(?P\d+)/$', views.enroll), url(r'manage/enroll/rejected/(?P\d+)/(?P\d+)/$', -- cgit