add markers to exams (move away from group based to content based permissions)

This commit is contained in:
Ross
2024-08-05 10:45:38 +01:00
parent cff5a46e4c
commit e46f843284
33 changed files with 299 additions and 23 deletions
+7
View File
@@ -445,6 +445,13 @@ class Exam(ExamBase):
help_text="Author of exam",
related_name="long_exam_author",
)
markers = models.ManyToManyField(
settings.AUTH_USER_MODEL,
blank=True,
help_text="Authorised markers for the exam",
related_name="long_exam_markers",
)
double_mark = models.BooleanField(
default=True, help_text="Defines if an exam is expected to be double marked"