From c10c307584125269d13e5a065404f7c075093915 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 23 Apr 2021 09:10:28 +0100 Subject: [PATCH] . --- generic/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/forms.py b/generic/forms.py index 6ef4f314..44ab49d8 100755 --- a/generic/forms.py +++ b/generic/forms.py @@ -9,7 +9,7 @@ from django.forms import ( from django.forms import inlineformset_factory from generic.models import ( - Examination + Examination, Exam ) from django.contrib.admin.widgets import FilteredSelectMultiple @@ -23,5 +23,5 @@ class ExaminationForm(ModelForm): class ExamForm(ModelForm): class Meta: - model = "Exam" + model = Exam fields = ["name", "time_limit", "exam_mode"] \ No newline at end of file