diff options
author | Palaparthy Adityachandra | 2020-02-28 13:43:48 +0530 |
---|---|---|
committer | GitHub | 2020-02-28 13:43:48 +0530 |
commit | ce0cdc307312d4da803abb3377cf7562b3fbcb4b (patch) | |
tree | b1303ee3214c0e1ff0581d9ce96495c7efde6cd7 /grades/models.py | |
parent | 32f1d4dc7816bbb93f6dda77591eeb75c3f30c0d (diff) | |
parent | b4751e0c1783a71c6672554114ccdf5a78c6b47f (diff) | |
download | online_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.py | 3 |
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() |