Files
thrillwiki_django_no_react/apps/core/urls.py
pacnpal 75cc618c2b update
2025-09-21 20:04:42 -04:00

27 lines
644 B
Python

"""
Core app URL configuration.
"""
from django.urls import path, include
from .views.entity_search import (
EntityFuzzySearchView,
EntityNotFoundView,
QuickEntitySuggestionView,
)
app_name = "core"
# Entity search endpoints
entity_patterns = [
path("search/", EntityFuzzySearchView.as_view(), name="entity_fuzzy_search"),
path("not-found/", EntityNotFoundView.as_view(), name="entity_not_found"),
path(
"suggestions/", QuickEntitySuggestionView.as_view(), name="entity_suggestions"
),
]
urlpatterns = [
# Entity fuzzy matching and search endpoints
path("entities/", include(entity_patterns)),
]