Skip to content

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

Change max length property on ProductTranslation name field

Daltond830f2c53781
diff --git a/saleor/product/models.py b/saleor/product/models.py
index 08f2c3eff2..465446a018 100644
--- a/saleor/product/models.py
+++ b/saleor/product/models.py
@@ -356,7 +356,7 @@ class ProductTranslation(SeoModelTranslation):
product = models.ForeignKey(
Product, related_name="translations", on_delete=models.CASCADE
)
- name = models.CharField(max_length=128)
+ name = models.CharField(max_length=250)
description = models.TextField(blank=True)
description_json = SanitizedJSONField(
blank=True, default=dict, sanitizer=clean_draft_js