This commit is contained in:
Ross
2021-08-16 12:17:53 +00:00
parent a62d73e2bd
commit e0c1a2a2e1
2 changed files with 10 additions and 5 deletions
+5
View File
@@ -206,3 +206,8 @@ LongSeriesImageFormSet = inlineformset_factory(
max_num=2000,
field_classes="testing",
)
class ExamForm(ModelForm):
class Meta:
model = Exam
fields = ["name", "time_limit", "exam_mode", "active", "archive"]