from django.urls import path from . import views urlpatterns = [ path('', views.CustomerListView.as_view(), name='customers'), path('customer//', views.CustomerDetailView.as_view(), name='customer'), path('customer//computers', views.ComputerListView.as_view(), name='computers'), path('device//', views.device_detail_view, name='device'), path('computer//', views.computer_detail_view, name='computer'), path('customer//devices/', views.DeviceListView.as_view(), name='devices'), path('customer//nets/', views.NetListView.as_view(), name='nets'), path('net//', views.NetDetailView.as_view(), name='net'), ]