.
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ from django.forms import (
|
|||||||
from django.forms import inlineformset_factory
|
from django.forms import inlineformset_factory
|
||||||
|
|
||||||
from generic.models import (
|
from generic.models import (
|
||||||
Examination
|
Examination, Exam
|
||||||
)
|
)
|
||||||
|
|
||||||
from django.contrib.admin.widgets import FilteredSelectMultiple
|
from django.contrib.admin.widgets import FilteredSelectMultiple
|
||||||
@@ -23,5 +23,5 @@ class ExaminationForm(ModelForm):
|
|||||||
|
|
||||||
class ExamForm(ModelForm):
|
class ExamForm(ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = "Exam"
|
model = Exam
|
||||||
fields = ["name", "time_limit", "exam_mode"]
|
fields = ["name", "time_limit", "exam_mode"]
|
||||||
Reference in New Issue
Block a user