summaryrefslogtreecommitdiff
path: root/grades/models.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-02-28 13:43:48 +0530
committerGitHub2020-02-28 13:43:48 +0530
commitce0cdc307312d4da803abb3377cf7562b3fbcb4b (patch)
treeb1303ee3214c0e1ff0581d9ce96495c7efde6cd7 /grades/models.py
parent32f1d4dc7816bbb93f6dda77591eeb75c3f30c0d (diff)
parentb4751e0c1783a71c6672554114ccdf5a78c6b47f (diff)
downloadonline_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.tar.gz
online_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.tar.bz2
online_test-ce0cdc307312d4da803abb3377cf7562b3fbcb4b.zip
Merge pull request #652 from adityacp/revamp_ui
Revamp UI in moderator and student dashboard
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()