network_inventory/customers/urls.py
2020-08-03 16:35:36 +02:00

15 lines
439 B
Python

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'),
path('create/customer/',
views.CustomerCreateView.as_view(),
name='customer_create'),
path('delete/customer/<int:pk>/', views.CustomerDeleteView.as_view(),
name='customer_delete'),
]