working,cleanup

This commit is contained in:
Sam
2021-02-22 11:25:18 +00:00
parent 5a1084bf7b
commit c155ae140d
2 changed files with 0 additions and 4 deletions

View File

@@ -30,9 +30,6 @@ class Command(BaseCommand):
help = 'Load data from example site https://woo.enreda.coop/ '
def handle(self, *args, **kwargs):
print("Deleting existing Product instances")
Product.objects.all().delete()
print("Migrate data from Enreda WooCommerce...\n")
# find or create company instance
enreda, created = Company.objects.get_or_create(company_name='enreda', web_link=self.url)