9 lines
214 B
Python
9 lines
214 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('list/', views.VehicleList.as_view(), name='vehicle_list'),
|
|
path('<int:pk>/', views.VehicleDetail.as_view(), name='vehicle_detail')
|
|
]
|