This commit is contained in:
Ross
2022-05-03 20:05:24 +01:00
parent 4f2bdecd08
commit 66dff08472
5 changed files with 22 additions and 24 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ from django.forms import (
CharField,
)
from django.forms import inlineformset_factory
from generic.forms import ExamFormMixin
from longs.models import (
# Examination,
@@ -265,7 +266,7 @@ LongSeriesImageFormSet = inlineformset_factory(
)
class ExamForm(ModelForm):
class ExamForm(ExamFormMixin, ModelForm):
class Meta:
model = Exam
fields = [
@@ -278,4 +279,4 @@ class ExamForm(ModelForm):
"publish_results",
"double_mark",
"archive",
]
]