Fix
This commit is contained in:
parent
2cf845eedb
commit
f915657124
|
|
@ -90,7 +90,7 @@ class Command(BaseCommand):
|
|||
tag.filter(lower_value=t.tag_value, category=category)
|
||||
products = Product.objects.filter(old_id=t.product_id)
|
||||
if products.exists():
|
||||
for p in products.all():
|
||||
for p in products:
|
||||
p.tags.add(tag)
|
||||
p.save()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user