2020-01-07 21:59:12 +01:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2022-03-27 14:50:44 +02:00
|
|
|
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"),
|
|
|
|
path(
|
|
|
|
"create/location/",
|
|
|
|
views.htmx_create_location,
|
|
|
|
name="htmx_create_location",
|
|
|
|
),
|
2020-08-03 13:41:49 +02:00
|
|
|
]
|