7 lines
183 B
Python
7 lines
183 B
Python
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()),
|
|
] |