Fix
This commit is contained in:
parent
3b0c872d51
commit
fb0157042a
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user