mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 12:51:09 -05:00
27 lines
644 B
Python
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)),
|
|
]
|