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"), ]