summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
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.