.
This commit is contained in:
+4
-4
@@ -14,7 +14,7 @@ from .models import (
|
||||
AnatomyQuestion,
|
||||
#Examination,
|
||||
BodyPart,
|
||||
Structure2,
|
||||
Structure,
|
||||
Region,
|
||||
Modality,
|
||||
QuestionType,
|
||||
@@ -86,7 +86,7 @@ class AnatomyQuestionForm(ModelForm):
|
||||
queryset=Modality.objects.all(),
|
||||
)
|
||||
|
||||
#self.fields["Structure2"] = ModelChoiceField(
|
||||
#self.fields["Structure"] = ModelChoiceField(
|
||||
# required=False,
|
||||
# queryset=Structure.objects.all(),
|
||||
#)
|
||||
@@ -197,9 +197,9 @@ class ExaminationForm(ModelForm):
|
||||
fields = ["examination"]
|
||||
|
||||
|
||||
class Structure2Form(ModelForm):
|
||||
class StructureForm(ModelForm):
|
||||
class Meta:
|
||||
model = Structure2
|
||||
model = Structure
|
||||
fields = ["structure"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user