Skip to content

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

Join paragraphs with line breaks

Artur Smęt9edf0718b539
diff --git a/utils/create_random_data.py b/utils/create_random_data.py
index 81a34778fe..32c8059734 100644
--- a/utils/create_random_data.py
+++ b/utils/create_random_data.py
@@ -50,7 +50,7 @@ def create_product(product_type, **kwargs):
'collection': collection,
'color': Color.objects.order_by('?')[0],
'weight': fake.random_digit(),
- 'description': ''.join(fake.paragraphs())
+ 'description': '\n\n'.join(fake.paragraphs(5))
}
defaults.update(kwargs)