Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from django.db import models |
||
3 | class GradingScheme(models.Model): |
||
4 | title = models.CharField(max_length=200, help_text="Choose a directly understandable name, such as 'ECTS' or 'Pass / Fail'.") |
||
5 | gradings = models.ManyToManyField('Grading', related_name='schemes', help_text="The list of gradings that form this grading scheme.") |
||
6 | |||
7 | class Meta: |
||
8 | app_label = 'opensubmit' |
||
9 | |||
10 | def __str__(self): |
||
11 | return self.title |
||
12 |