fix --> remove print qs on last lines in sync_livestocks mangement

This commit is contained in:
2026-02-10 12:36:51 +03:30
parent 1e773ef53d
commit 2c87642f56

View File

@@ -151,12 +151,11 @@ class Command(BaseCommand):
with transaction.atomic(): with transaction.atomic():
Tag.objects.bulk_create(new_tags, batch_size=BATCH_SIZE) Tag.objects.bulk_create(new_tags, batch_size=BATCH_SIZE)
ss = LiveStock.objects.bulk_create( LiveStock.objects.bulk_create(
new_livestock, new_livestock,
batch_size=BATCH_SIZE, batch_size=BATCH_SIZE,
ignore_conflicts=True ignore_conflicts=True
) )
print(ss)
LiveStock.objects.bulk_update( LiveStock.objects.bulk_update(
updated_livestock, updated_livestock,
['tag'], ['tag'],