2022-03-09 10:33:05 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
2022-03-17 09:27:31 +00:00
|
|
|
from container.views import ContainerListView, ContainerUpdateView, ContainerCreateView, ContainerDetailView, ContainerDeleteView
|
2022-03-17 09:42:20 +00:00
|
|
|
from container.views import ContainerTypeListView, ContainerTypeDetailView, ContainerTypeCreateView, ContainerTypeUpdateView, ContainerTypeDeleteView
|
|
|
|
|
2022-03-09 17:29:44 +00:00
|
|
|
app_name = 'container'
|
2022-03-09 10:33:05 +00:00
|
|
|
urlpatterns = [
|
2022-03-17 09:27:31 +00:00
|
|
|
path('', ContainerListView.as_view(), name='list'),
|
|
|
|
path('add/', ContainerCreateView.as_view(), name='add'),
|
|
|
|
path('edit/<int:pk>/', ContainerUpdateView.as_view(), name='update'),
|
|
|
|
path('delete/<int:pk>/', ContainerDeleteView.as_view(), name='delete'),
|
|
|
|
path('type/', ContainerTypeListView.as_view(), name='container_type_list'),
|
|
|
|
path('type/<int:pk>/', ContainerTypeDetailView.as_view(), name='container_type_detail'),
|
|
|
|
path('type/add/', ContainerTypeCreateView.as_view(), name='container_type_add'),
|
2022-03-17 09:42:20 +00:00
|
|
|
path('type/edit/<int:pk>/', ContainerTypeUpdateView.as_view(), name='container_type_update'),
|
|
|
|
path('type/delete/<int:pk>/', ContainerTypeDeleteView.as_view(), name='container_type_delete'),
|
2022-03-09 10:33:05 +00:00
|
|
|
]
|
|
|
|
|