2022-01-03 00:09:16 +01:00
|
|
|
from django.urls import path, include
|
2022-01-23 13:45:56 +01:00
|
|
|
from .views import CarList, SettingsAPIView
|
2022-01-03 00:09:16 +01:00
|
|
|
|
|
|
|
# The API URLs are now determined automatically by the router.
|
|
|
|
urlpatterns = [
|
2022-01-23 13:45:56 +01:00
|
|
|
path("cars", CarList.as_view()),
|
|
|
|
path("settings", SettingsAPIView.as_view()),
|
|
|
|
]
|