"""Product backoffice url patterns.""" from django.urls import path from product import views urlpatterns = [ path('', views.ProductListCreateBackOfficeView.as_view(), name='list-create'), path('/', views.ProductDetailBackOfficeView.as_view(), name='rud'), path('/notes/', views.ProductNoteListCreateView.as_view(), name='note-list-create'), path('/notes//', views.ProductNoteRUDView.as_view(), name='note-rud'), path('/gallery/', views.ProductBackOfficeGalleryListView.as_view(), name='gallery-list'), path('/gallery//', views.ProductBackOfficeGalleryCreateDestroyView.as_view(), name='gallery-create-destroy'), # product types path('types/', views.ProductTypeListCreateBackOfficeView.as_view(), name='type-list-create'), path('types//', views.ProductTypeRUDBackOfficeView.as_view(), name='type-retrieve-update-destroy'), path('types/attach-tag-category/', views.ProductTypeTagCategoryCreateBackOfficeView.as_view(), name='type-tag-category-create'), # product sub types path('subtypes/', views.ProductSubTypeListCreateBackOfficeView.as_view(), name='subtype-list-create'), path('subtypes//', views.ProductSubTypeRUDBackOfficeView.as_view(), name='subtype-retrieve-update-destroy'), ]