This commit is contained in:
Ross
2021-05-03 19:35:37 +01:00
parent 3d5cb998fe
commit 9d39385c6d
+3
View File
@@ -101,6 +101,9 @@ class ExamBase(models.Model):
class NoteType(models.Model):
note_type = models.CharField(max_length=200)
def __str__(self):
return self.note_type
class QuestionNote(models.Model):
content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
object_id = models.PositiveIntegerField()