summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authoradityacp2018-01-13 19:05:06 +0530
committeradityacp2018-01-13 19:05:06 +0530
commit411a223216eb2834c6d764ac6912986894b5bdf2 (patch)
tree8f8ba88c115a1b0502b5e1a3371d83a3496dffdc /yaksh
parentca9cd739cd528b1fe883f25be1d76b8bbdb7bc25 (diff)
downloadonline_test-411a223216eb2834c6d764ac6912986894b5bdf2.tar.gz
online_test-411a223216eb2834c6d764ac6912986894b5bdf2.tar.bz2
online_test-411a223216eb2834c6d764ac6912986894b5bdf2.zip
Remove unnecessary function from custom_filters.py
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templatetags/custom_filters.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/yaksh/templatetags/custom_filters.py b/yaksh/templatetags/custom_filters.py
index 0049836..3c2c6fd 100644
--- a/yaksh/templatetags/custom_filters.py
+++ b/yaksh/templatetags/custom_filters.py
@@ -55,11 +55,6 @@ def get_course_details(course):
@register.simple_tag
-def current_unit(course, student):
- return course.get_current_unit(student)
-
-
-@register.simple_tag
def module_completion_percent(course, module, user):
return module.get_module_complete_percent(course, user)