.
This commit is contained in:
@@ -191,3 +191,8 @@ class BodyPartForm(ModelForm):
|
||||
class Meta:
|
||||
model = BodyPart
|
||||
fields = ["bodypart"]
|
||||
|
||||
class ExamForm(ModelForm):
|
||||
class Meta:
|
||||
model = Exam
|
||||
fields = ["name", "time_limit", "exam_mode"]
|
||||
+1
-1
@@ -32,6 +32,7 @@ from .forms import (
|
||||
MarkAnatomyQuestionForm,
|
||||
AnatomyQuestionForm,
|
||||
StructureForm,
|
||||
ExamForm
|
||||
)
|
||||
from .models import (
|
||||
AnatomyQuestion,
|
||||
@@ -46,7 +47,6 @@ from .models import (
|
||||
)
|
||||
from generic.models import Examination
|
||||
from generic.views import ExamViews
|
||||
from generic.forms import ExamForm
|
||||
|
||||
from .tables import AnatomyQuestionTable, AnatomyUserAnswerTable
|
||||
from .filters import AnatomyQuestionFilter, AnatomyUserAnswerFilter
|
||||
|
||||
Reference in New Issue
Block a user