here we go

This commit is contained in:
pacnpal
2024-10-31 22:32:01 +00:00
parent 71272e36a6
commit 3cbda93094
68 changed files with 3114 additions and 1485 deletions

View File

@@ -6,9 +6,13 @@ app_name = 'companies'
urlpatterns = [
# Company URLs
path('', views.CompanyListView.as_view(), name='company_list'),
path('create/', views.CompanyCreateView.as_view(), name='company_create'),
path('<slug:slug>/edit/', views.CompanyUpdateView.as_view(), name='company_edit'),
path('<slug:slug>/', views.CompanyDetailView.as_view(), name='company_detail'),
# Manufacturer URLs
path('manufacturers/', views.ManufacturerListView.as_view(), name='manufacturer_list'),
path('manufacturers/create/', views.ManufacturerCreateView.as_view(), name='manufacturer_create'),
path('manufacturers/<slug:slug>/edit/', views.ManufacturerUpdateView.as_view(), name='manufacturer_edit'),
path('manufacturers/<slug:slug>/', views.ManufacturerDetailView.as_view(), name='manufacturer_detail'),
]