summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authoradityacp2018-01-12 17:33:16 +0530
committeradityacp2018-01-12 17:35:38 +0530
commit943d2c1f6d0a1f99ffc6e48bc0c82249e2d4d08c (patch)
tree1dbbb539e525d569bdf5d13bfc0f2fa849eafde8 /yaksh/urls.py
parent3abbc557c57eaf2f3d08222034f9a720a1e7a1ed (diff)
downloadonline_test-943d2c1f6d0a1f99ffc6e48bc0c82249e2d4d08c.tar.gz
online_test-943d2c1f6d0a1f99ffc6e48bc0c82249e2d4d08c.tar.bz2
online_test-943d2c1f6d0a1f99ffc6e48bc0c82249e2d4d08c.zip
Change in models.py, views.py and urls.py
- Add new model methods to calculate percent of module and course completion - Add new view function for displaying course status - Add new url to redirect to course status
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index b4bbb41..d60a5d3 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -166,4 +166,6 @@ urlpatterns = [
views.design_course, name="design_course"),
url(r'^manage/courses/designcourse/(?P<course_id>\d+)/$',
views.design_course, name="design_course"),
+ url(r'^manage/course_status/(?P<course_id>\d+)/$',
+ views.course_status, name="course_status"),
]