backend/app/conf/api.py

10 lines
312 B
Python
Raw Normal View History

2022-10-21 21:39:04 +03:00
from django.urls import path
2022-10-22 03:09:14 +03:00
from search.api.views import SearchApi, HintApi, AutoCompleteApi
2022-10-21 21:39:04 +03:00
urlpatterns = [
2022-10-21 23:22:14 +03:00
path("search", SearchApi.as_view(), name="search_api"),
2022-10-22 03:09:14 +03:00
path("hint", HintApi.as_view(), name="hint api"),
path('autocomplete_schema', AutoCompleteApi.as_view(), name='autocomplete api')
2022-10-21 21:39:04 +03:00
]