Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fixed build.

NyanKiyoshiba51f7e7cd61
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index 17911d60d3..d6a51842a0 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -9,6 +9,7 @@ from django.utils.text import slugify
from django.utils.translation import pgettext_lazy
from . import ProductBulkAction
+from ...core.utils.text import generate_seo_description
from ...product.models import (
AttributeChoiceValue, Collection, Product, ProductAttribute, ProductImage,
ProductType, ProductVariant, Stock, StockLocation, VariantImage)
@@ -179,7 +180,7 @@ class ProductForm(forms.ModelForm):
product_description = self.data['description']
# generate a SEO friendly from HTML description
- seo_description = self.generate_seo_description(
+ seo_description = generate_seo_description(
product_description)
return seo_description