network_inventory/customers/urls.py

17 lines
513 B
Python
Raw Normal View History

from django.urls import path
from . import views
urlpatterns = [
path('', views.customers_table_view, name='customers'),
2021-12-23 18:50:03 +01:00
path('customer/<int:pk>/', views.customer_detail_view,
name='customer'),
2020-08-03 16:35:36 +02:00
path('delete/customer/<int:pk>/', views.CustomerDeleteView.as_view(),
name='customer_delete'),
2022-02-10 21:40:49 +01:00
path('create/customer/',
views.create_customer,
name='customer_create'),
2022-03-23 12:18:40 +01:00
path('create/location/', views.htmx_create_location,
name='htmx_create_location')
2020-08-03 13:41:49 +02:00
]