Skip to content

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

Merge branch 'master' into fix/seo/clean-descriptions

NyanKiyoshie5926d04b9f0
diff --cc saleor/dashboard/product/forms.py
index 8271455fcb,da1a589835..2918cad6ab
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@@ -7,14 -7,15 +7,16 @@@ from django.forms.widgets import Checkb
from django.utils.encoding import smart_text
from django.utils.text import slugify
from django.utils.translation import pgettext_lazy
+ from mptt.forms import TreeNodeChoiceField
- 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)
+ AttributeChoiceValue, Category, Collection, Product, ProductAttribute,
+ ProductImage, ProductType, ProductVariant, Stock, StockLocation,
+ VariantImage)
from ..widgets import RichTextEditorWidget
from .widgets import ImagePreviewWidget
+ from . import ProductBulkAction
class RichTextField(forms.CharField):