2022-03-09 10:33:05 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2022-03-09 17:29:44 +00:00
|
|
|
app_name = 'container'
|
2022-03-09 10:33:05 +00:00
|
|
|
urlpatterns = [
|
2022-03-10 10:33:06 +00:00
|
|
|
path('', views.IndexView.as_view(), name='index'),
|
|
|
|
path('<int:pk>/', views.DetailView.as_view(), name='detail'),
|
|
|
|
path('edit/<int:pk>/', views.EditView.as_view(), name='edit'),
|
|
|
|
path('delete/<int:pk>/', views.DeleteView.as_view(), name='delete'),
|
2022-03-17 06:21:38 +00:00
|
|
|
path('add/', views.AddView.as_view(), name='add'),
|
2022-03-10 10:33:06 +00:00
|
|
|
path('type/', views.TypeIndexView.as_view(), name='container_type_index'),
|
|
|
|
path('type/<int:pk>/', views.TypeDetailView.as_view(), name='container_type_detail'),
|
2022-03-09 10:33:05 +00:00
|
|
|
]
|
|
|
|
|