Systemy-rozmyte-sql/backend/cars/urls.py
2022-01-23 13:45:56 +01:00

9 lines
250 B
Python

from django.urls import path, include
from .views import CarList, SettingsAPIView
# The API URLs are now determined automatically by the router.
urlpatterns = [
path("cars", CarList.as_view()),
path("settings", SettingsAPIView.as_view()),
]