no search before db object creation: faster

This commit is contained in:
2023-01-28 11:45:30 +00:00
parent e4c804b305
commit db0504057b
2 changed files with 45 additions and 36 deletions

View File

@@ -40,7 +40,7 @@ def import_logbooks():
troggle.parsers.logbooks.LoadLogbooks()
def import_logbook(year=2016):
def import_logbook(year=2022):
print(f"-- Importing Logbook {year}")
with transaction.atomic():
troggle.parsers.logbooks.LoadLogbook(year)