This commit is contained in:
Ross
2021-12-11 13:01:40 +00:00
parent 1f474c262e
commit a628bd59b2
5 changed files with 67 additions and 2 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ from django.utils.translation import ugettext_lazy as _
from sortedm2m.fields import SortedManyToManyField
from generic.models import ExamBase, QuestionNote
from generic.models import CidUser, ExamBase, QuestionNote
import reversion
@@ -154,6 +154,7 @@ class Exam(ExamBase):
help_text='Author of exam',
related_name="physics_exam_author")
valid_users = models.ManyToManyField(CidUser, blank=True, related_name="physics_exams")
@reversion.register