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