diff --git a/myproject/products/templates/products/product_import_status.html b/myproject/products/templates/products/product_import_status.html index c4e71fb..1a8ef57 100644 --- a/myproject/products/templates/products/product_import_status.html +++ b/myproject/products/templates/products/product_import_status.html @@ -91,7 +91,7 @@ Назад к импорту - diff --git a/myproject/products/views/productkit_views.py b/myproject/products/views/productkit_views.py index 11e425a..2dff15c 100644 --- a/myproject/products/views/productkit_views.py +++ b/myproject/products/views/productkit_views.py @@ -78,7 +78,7 @@ class ProductKitListView(LoginRequiredMixin, ManagerOwnerRequiredMixin, ListView }) action_buttons.append({ - 'url': reverse_lazy('products:product-list'), + 'url': reverse_lazy('products:products-list'), 'text': 'К товарам', 'class': 'btn-outline-primary', 'icon': 'box' @@ -489,7 +489,7 @@ class ProductKitDeleteView(LoginRequiredMixin, ManagerOwnerRequiredMixin, Delete def get_success_url(self): messages.success(self.request, f'Комплект "{self.object.name}" успешно удален!') - return reverse_lazy('products:productkit-list') + return reverse_lazy('products:products-list') class ProductKitMakePermanentView(LoginRequiredMixin, ManagerOwnerRequiredMixin, UpdateView): diff --git a/myproject/templates/components/category_filter_buttons.html b/myproject/templates/components/category_filter_buttons.html index 40bf92a..01f73f9 100644 --- a/myproject/templates/components/category_filter_buttons.html +++ b/myproject/templates/components/category_filter_buttons.html @@ -17,8 +17,8 @@ {% if show_type_filters|default:True %}