summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authormaheshgudi2017-01-18 15:01:02 +0530
committermaheshgudi2017-01-18 15:22:48 +0530
commit1f66352c1f26eb0688ae0884781e6a6a66d43b18 (patch)
tree9e610b5436165458be16ae7aa45857b292643bd8 /yaksh/models.py
parent9d16d8342becd44092e9087b4953fecc7f3e0662 (diff)
downloadonline_test-1f66352c1f26eb0688ae0884781e6a6a66d43b18.tar.gz
online_test-1f66352c1f26eb0688ae0884781e6a6a66d43b18.tar.bz2
online_test-1f66352c1f26eb0688ae0884781e6a6a66d43b18.zip
added bootstrap labels instead of mark tag
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 31038f1..8d4f930 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -227,7 +227,6 @@ class Course(models.Model):
students = self.students.exclude(id__in=teachers)
return students
-
def __str__(self):
return self.name
@@ -915,8 +914,6 @@ class AnswerPaperManager(models.Manager):
best_attempt = max([marks["marks_obtained"] for marks in papers])
return best_attempt
-
-
###############################################################################
class AnswerPaper(models.Model):
"""A answer paper for a student -- one per student typically.