mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 11:51:10 -05:00
Add autocomplete functionality for parks: implement URLs, views, and templates for real-time suggestions
This commit is contained in:
@@ -7,6 +7,7 @@ from accounts import views as accounts_views
|
||||
from django.views.generic import TemplateView
|
||||
from .views import HomeView, SearchView
|
||||
from . import views
|
||||
from autocomplete.urls import urlpatterns as autocomplete_patterns
|
||||
import os
|
||||
|
||||
urlpatterns = [
|
||||
@@ -58,6 +59,8 @@ urlpatterns = [
|
||||
views***REMOVED***ironment_and_settings_view,
|
||||
name="environment_and_settings",
|
||||
),
|
||||
# Autocomplete URLs
|
||||
path("ac/", include((autocomplete_patterns, "autocomplete"), namespace="autocomplete")),
|
||||
]
|
||||
|
||||
# Serve static files in development
|
||||
|
||||
Reference in New Issue
Block a user