Ilo/apps/core/urls.py
2026-05-02 20:01:30 +03:30

16 lines
322 B
Python

from django.urls import path
from . import views
from .search import GlobalSearchView
app_name = "core"
urlpatterns = [
path("", views.home, name="home"),
]
# Mounted directly under /api/search/ from the project urlconf.
api_urlpatterns = [
path("search/", GlobalSearchView.as_view(), name="global-search"),
]