from django.urls import path from backoffice.views import products urlpatterns = [ path('', products.ProductListView.as_view(), name='product_list'), path('create/', products.ProductCreateView.as_view(), name='product_create'), path('/', products.ProductDetailView.as_view(), name='product_detail'), path('/delete/', products.ProductDeleteView.as_view(), name='product_delete'), path( '/inline//', products.ProductInlineViewFragment.as_view(), name='product_inline_view', ), path( '/inline//edit/', products.ProductInlineEditView.as_view(), name='product_inline_edit', ), path( 'inline-search//', products.ProductFieldSearchView.as_view(), name='product_field_search', ), path('/prices/create/', products.ProductPriceCreateView.as_view(), name='product_price_create'), path( '/variants/create/', products.ProductVariantCreateView.as_view(), name='product_variant_create', ), path('variants//edit/', products.ProductVariantUpdateView.as_view(), name='product_variant_update'), path('variants//delete/', products.ProductVariantDeleteView.as_view(), name='product_variant_delete'), path( 'variants//prices/create/', products.ProductVariantPriceCreateView.as_view(), name='product_variant_price_create', ), path('/batches/create/', products.ProductBatchCreateView.as_view(), name='product_batch_create'), path('batches//delete/', products.ProductBatchDeleteView.as_view(), name='product_batch_delete'), path('/images/create/', products.ProductImageCreateView.as_view(), name='product_image_create'), path('images//delete/', products.ProductImageDeleteView.as_view(), name='product_image_delete'), path('categories/', products.ProductCategoryListView.as_view(), name='product_category_list'), path('categories/create/', products.ProductCategoryCreateView.as_view(), name='product_category_create'), path( 'categories//edit/', products.ProductCategoryUpdateView.as_view(), name='product_category_update' ), path( 'categories//delete/', products.ProductCategoryDeleteView.as_view(), name='product_category_delete' ), path('attributes/', products.ProductAttributeListView.as_view(), name='product_attribute_list'), path('attributes/create/', products.ProductAttributeCreateView.as_view(), name='product_attribute_create'), path('attributes//', products.ProductAttributeDetailView.as_view(), name='product_attribute_detail'), path( 'attributes//edit/', products.ProductAttributeUpdateView.as_view(), name='product_attribute_update' ), path( 'attributes//delete/', products.ProductAttributeDeleteView.as_view(), name='product_attribute_delete', ), path( 'attributes//values/create/', products.ProductAttributeValueCreateView.as_view(), name='product_attribute_value_create', ), path( 'attributes/values//delete/', products.ProductAttributeValueDeleteView.as_view(), name='product_attribute_value_delete', ), path('brands/', products.BrandListView.as_view(), name='brand_list'), path('brands/create/', products.BrandCreateView.as_view(), name='brand_create'), path('brands//edit/', products.BrandUpdateView.as_view(), name='brand_update'), path('brands//delete/', products.BrandDeleteView.as_view(), name='brand_delete'), path('tags/', products.TagListView.as_view(), name='tag_list'), path('tags/create/', products.TagCreateView.as_view(), name='tag_create'), path('tags//edit/', products.TagUpdateView.as_view(), name='tag_update'), path('tags//delete/', products.TagDeleteView.as_view(), name='tag_delete'), ]