This commit is contained in:
Ross
2021-11-29 22:57:51 +00:00
parent 974d682910
commit bf719e61cb
5 changed files with 59 additions and 11 deletions
+7
View File
@@ -1,4 +1,6 @@
from django.urls import path, include
from atlas.models import Condition
from . import views
from django.views.decorators.cache import cache_page
@@ -42,5 +44,10 @@ urlpatterns = [
views.GenericViews.user_answer_delete_multiple,
name="user_answer_delete_multiple",
),
path(
"condition-autocomplete",
views.ConditionAutocomplete.as_view(model=Condition, create_field='structure'),
name="condition-autocomplete",
),
]