more Long improvements
This commit is contained in:
@@ -74,6 +74,12 @@ class QuestionBase(models.Model):
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
def get_unanswered_mark_and_text(self) -> tuple(int, str):
|
||||
"""
|
||||
Override in models if needed
|
||||
"""
|
||||
return (0, "Not answered")
|
||||
|
||||
|
||||
class ExamBase(models.Model):
|
||||
name = models.CharField(max_length=200, help_text="Name of the exam")
|
||||
|
||||
Reference in New Issue
Block a user