^
This commit is contained in:
parent
8019703940
commit
f807fdd02c
1 changed files with 4 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue