12 lines
438 B
Python
12 lines
438 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'customers'
|
|
|
|
urlpatterns = [
|
|
path('', views.customer_list, name='customer-list'),
|
|
path('create/', views.customer_create, name='customer-create'),
|
|
path('<int:pk>/', views.customer_detail, name='customer-detail'),
|
|
path('<int:pk>/edit/', views.customer_update, name='customer-update'),
|
|
path('<int:pk>/delete/', views.customer_delete, name='customer-delete'),
|
|
] |