Skip to content

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

Create variants without names

Artur Smęt59edd7845faf
diff --git a/saleor/core/utils/random_data.py b/saleor/core/utils/random_data.py
index b1c2f373e4..e6aecf5b5b 100644
--- a/saleor/core/utils/random_data.py
+++ b/saleor/core/utils/random_data.py
@@ -285,7 +285,6 @@ def create_stock(variant, **kwargs):
def create_variant(product, **kwargs):
defaults = {
- 'name': fake.word(),
'product': product}
defaults.update(kwargs)
variant = ProductVariant.objects.create(**defaults)