summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2018-01-18 16:05:24 +0530
committeradityacp2018-01-18 16:05:24 +0530
commitbc8185f48856c30a37c4c80b0541bebbae2285a2 (patch)
tree73b304187941489740d413ceb6c6e85973911fe7
parent1c9749a5fbbbebe8757358a9d1ef36caa894e399 (diff)
downloadonline_test-bc8185f48856c30a37c4c80b0541bebbae2285a2.tar.gz
online_test-bc8185f48856c30a37c4c80b0541bebbae2285a2.tar.bz2
online_test-bc8185f48856c30a37c4c80b0541bebbae2285a2.zip
Add docstring to update course status view function
-rw-r--r--yaksh/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 3b7d28d..637b35c 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -2709,6 +2709,7 @@ def course_status(request, course_id):
def _update_unit_status(course_id, user, unit):
+ """ Update course status with current unit """
course_status = CourseStatus.objects.filter(
user=user, course_id=course_id,
)