from django.urls import path from . import views urlpatterns = [ path('connected_device//', views.connected_device_detail_view, name='connected_device'), path('customer//devices/', views.devices_table_view, name='devices'), path('customer//connected_devices/', views.connected_devices_table_view, name='connected_devices'), path('device//', views.device_detail_view, name='device'), path('customer//create/device/', views.DeviceCreateFromCustomerView.as_view(), name='device_create'), path('update/device//', views.DeviceUpdateView.as_view(), name='device_update'), path('delete/device//', views.DeviceDeleteView.as_view(), name='device_delete'), path('device//add/warranty/', views.WarrantyCreateView.as_view(), name='warranty_create'), path('delete/warranty//', views.WarrantyDeleteView.as_view(), name='warranty_delete'), path('warranties/', views.warranties_view, name='warranties'), ]