Reduce noise in logs

This commit is contained in:
Oliver 2021-06-22 08:53:44 +10:00
parent f90730d866
commit 40fcfe1f47
3 changed files with 6 additions and 3 deletions

View File

@ -40,6 +40,7 @@ def assign_bom_items(apps, schema_editor):
except BomItem.DoesNotExist:
pass
if count_total > 0:
print(f"Assigned BomItem for {count_valid}/{count_total} entries")

View File

@ -71,6 +71,7 @@ def migrate_currencies(apps, schema_editor):
count += 1
if count > 0:
print(f"Updated {count} SupplierPriceBreak rows")
def reverse_currencies(apps, schema_editor):

View File

@ -71,6 +71,7 @@ def migrate_currencies(apps, schema_editor):
count += 1
if count > 0:
print(f"Updated {count} SupplierPriceBreak rows")
def reverse_currencies(apps, schema_editor):