network_inventory/customers/urls.py

13 lines
331 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 13:41:49 +02:00
]