summaryrefslogtreecommitdiff
path: root/grades/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'grades/models.py')
-rw-r--r--grades/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grades/models.py b/grades/models.py
index fcea510..b395a24 100644
--- a/grades/models.py
+++ b/grades/models.py
@@ -44,3 +44,6 @@ class GradeRange(models.Model):
upper_limit = models.FloatField()
grade = models.CharField(max_length=10)
description = models.CharField(max_length=127, null=True, blank=True)
+
+ def __str__(self):
+ return self.system.name.title()