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