mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-28 12:11:08 +02:00
15 lines
418 B
Python
15 lines
418 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.customers_table_view, name='customers'),
|
|
path('customer/<int:pk>/', views.customer_detail_view,
|
|
name='customer'),
|
|
path('delete/customer/<int:pk>/', views.CustomerDeleteView.as_view(),
|
|
name='customer_delete'),
|
|
path('create/customer/',
|
|
views.create_customer,
|
|
name='customer_create'),
|
|
]
|