network_inventory/backend/customers/urls.py

15 lines
439 B
Python
Raw Normal View History

from django.urls import path
from . import views
urlpatterns = [
path('', views.customers_table_view, name='customers'),
path('customer/<int:pk>/', views.CustomerDetailView.as_view(),
name='customer'),
2020-05-23 14:18:16 +02:00
path('create/customer/',
views.CustomerCreateView.as_view(),
name='customer_create'),
2020-08-03 16:35:36 +02:00
path('delete/customer/<int:pk>/', views.CustomerDeleteView.as_view(),
name='customer_delete'),
2020-08-03 13:41:49 +02:00
]