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