Merge branch 'fix/tag_product' into 'develop'

Fix

See merge request gm/gm-backend!141
This commit is contained in:
d.kuzmenko 2019-11-19 13:08:52 +00:00
commit 9d816ade6b

View File

@ -99,7 +99,8 @@ class Command(BaseCommand):
def remove_tags_product(self):
print('Begin clear tags product')
products = Product.objects.all()
products.tags.clear()
for p in tqdm(products, desc='Clear tags product'):
p.tags.clear()
print('End clear tags product')
def product_sql(self):