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