Skip to content

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

Fix error with name field max length

akjanik97b44e92b9a3
diff --git a/saleor/product/models.py b/saleor/product/models.py
index f39c44bd0a..1a90f766e6 100644
--- a/saleor/product/models.py
+++ b/saleor/product/models.py
@@ -383,7 +383,7 @@ class VariantImage(models.Model):
class Collection(models.Model):
name = models.CharField(max_length=128, unique=True)
- slug = models.SlugField()
+ slug = models.SlugField(max_length=255)
products = models.ManyToManyField(
Product, blank=True, related_name='collections')