move anatomy structure to atlas

This commit is contained in:
Ross
2024-01-10 23:12:38 +00:00
parent 087b29f0b4
commit 298cfe391c
7 changed files with 28 additions and 71 deletions
-12
View File
@@ -1,6 +1,5 @@
from django.urls import path, include
from anatomy.models import Structure
from generic.urls import generic_exam_urls, generic_view_urls
from . import views
from django.views.decorators.cache import cache_page
@@ -59,12 +58,6 @@ urlpatterns = [
views.get_body_part_id,
name="get_body_part_id",
),
path("structure/create/", views.create_structure, name="create_structure"),
path(
"structure/ajax/get_structure_id",
views.get_structure_id,
name="get_structure_id",
),
path("examination/create/", views.create_examination, name="create_examination"),
path(
"examination/ajax/get_examination_id",
@@ -84,11 +77,6 @@ urlpatterns = [
views.UserAnswerDelete.as_view(),
name="user_answer_delete",
),
path(
"structure-autocomplete",
views.StructureAutocomplete.as_view(model=Structure, create_field="structure"),
name="structure-autocomplete",
),
]
urlpatterns.extend(generic_view_urls(views.GenericViews))