move anatomy structure to atlas
This commit is contained in:
+2
-8
@@ -16,7 +16,7 @@ from .models import (
|
||||
AnatomyQuestion,
|
||||
# Examination,
|
||||
BodyPart,
|
||||
Structure,
|
||||
#Structure,
|
||||
Region,
|
||||
Modality,
|
||||
QuestionType,
|
||||
@@ -150,7 +150,7 @@ class AnatomyQuestionForm(ModelForm):
|
||||
]
|
||||
|
||||
widgets = {
|
||||
"structure": autocomplete.ModelSelect2(url="anatomy:structure-autocomplete")
|
||||
"structure": autocomplete.ModelSelect2(url="atlas:structure-autocomplete")
|
||||
}
|
||||
|
||||
|
||||
@@ -191,12 +191,6 @@ class ExaminationForm(ModelForm):
|
||||
fields = ["examination"]
|
||||
|
||||
|
||||
class StructureForm(ModelForm):
|
||||
class Meta:
|
||||
model = Structure
|
||||
fields = ["structure"]
|
||||
|
||||
|
||||
class BodyPartForm(ModelForm):
|
||||
class Meta:
|
||||
model = BodyPart
|
||||
|
||||
Reference in New Issue
Block a user