fix --> remove print qs on last lines in sync_livestocks mangement
This commit is contained in:
@@ -151,12 +151,11 @@ class Command(BaseCommand):
|
||||
|
||||
with transaction.atomic():
|
||||
Tag.objects.bulk_create(new_tags, batch_size=BATCH_SIZE)
|
||||
ss = LiveStock.objects.bulk_create(
|
||||
LiveStock.objects.bulk_create(
|
||||
new_livestock,
|
||||
batch_size=BATCH_SIZE,
|
||||
ignore_conflicts=True
|
||||
)
|
||||
print(ss)
|
||||
LiveStock.objects.bulk_update(
|
||||
updated_livestock,
|
||||
['tag'],
|
||||
|
||||
Reference in New Issue
Block a user