mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 08:51:09 -05:00
Implement park search suggestions: add autocomplete functionality and improve search input handling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from django.urls import path, include
|
||||
from . import views
|
||||
from . import views, views_search
|
||||
from rides.views import ParkSingleCategoryListView
|
||||
|
||||
app_name = "parks"
|
||||
@@ -18,6 +18,8 @@ urlpatterns = [
|
||||
|
||||
# Areas and search endpoints for HTMX
|
||||
path("areas/", views.get_park_areas, name="get_park_areas"),
|
||||
path("suggestions/", views_search.suggest_parks, name="suggest_parks"),
|
||||
|
||||
path("search/", views.search_parks, name="search_parks"),
|
||||
|
||||
# Park detail and related views
|
||||
|
||||
Reference in New Issue
Block a user