This commit is contained in:
Vague Rabbit 2021-02-09 20:11:46 -08:00
parent 8019703940
commit f807fdd02c

View file

@ -106,16 +106,10 @@ class Command(BaseCommand):
if options["sampledata"]:
self.make_database_faster()
create_images = not options["withoutimages"]
for msg in create_channels():
self.stdout.write(msg)
for msg in create_shipping_zones():
self.stdout.write(msg)
create_warehouses()
self.stdout.write("Created warehouses")
for msg in create_page_type():
self.stdout.write(msg)
for msg in create_pages():
self.stdout.write(msg)
create_products_by_schema(self.placeholders_dir, create_images)
self.stdout.write("Created products")
for msg in create_product_sales(5):
@ -128,6 +122,10 @@ class Command(BaseCommand):
self.stdout.write(msg)
for msg in create_orders(20):
self.stdout.write(msg)
for msg in set_homepage_collection():
self.stdout.write(msg)
for msg in create_page():
self.stdout.write(msg)
for msg in create_menus():
self.stdout.write(msg)
@ -136,5 +134,3 @@ class Command(BaseCommand):
for msg in create_permission_groups():
self.stdout.write(msg)
for msg in create_staffs():
self.stdout.write(msg)