.
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
from django.urls import path, include
|
||||
|
||||
from anatomy.models import Structure2
|
||||
from anatomy.models import Structure
|
||||
from . import views
|
||||
from django.views.decorators.cache import cache_page
|
||||
|
||||
@@ -151,7 +151,7 @@ urlpatterns = [
|
||||
),
|
||||
path(
|
||||
"structure-autocomplete",
|
||||
views.Structure2Autocomplete.as_view(model=Structure2, create_field='structure'),
|
||||
views.StructureAutocomplete.as_view(model=Structure, create_field='structure'),
|
||||
name="structure-autocomplete",
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user