2022-01-03 00:09:16 +01:00
|
|
|
from django.urls import path, include
|
2022-01-15 17:40:16 +01:00
|
|
|
from .views import CarList
|
2022-01-03 00:09:16 +01:00
|
|
|
|
|
|
|
# The API URLs are now determined automatically by the router.
|
|
|
|
urlpatterns = [
|
2022-01-15 17:40:16 +01:00
|
|
|
path('cars', CarList.as_view()),
|
2022-01-03 00:09:16 +01:00
|
|
|
]
|