From 1e574208bd8cec7bcbe8858c324dc168af038453 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 5 May 2020 06:59:32 +0200 Subject: [PATCH] Fix import --- apps/member/management/commands/import_olddb.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/member/management/commands/import_olddb.py b/apps/member/management/commands/import_olddb.py index b26c9aa..409af17 100644 --- a/apps/member/management/commands/import_olddb.py +++ b/apps/member/management/commands/import_olddb.py @@ -54,8 +54,10 @@ class Command(BaseCommand): "date_inscription": args[8], "date_solutions": args[9], "date_syntheses": args[10], - "final": args[11], - "year": args[12], + "date_solutions_2": args[11], + "date_syntheses_2": args[12], + "final": args[13], + "year": args[14], } with transaction.atomic(): Tournament.objects.create(**obj_dict)