1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 19:42:24 +00:00

Fix import

This commit is contained in:
Yohann D'ANELLO 2020-05-05 06:59:32 +02:00
parent aa1dd2cebc
commit 1e574208bd

View File

@ -54,8 +54,10 @@ class Command(BaseCommand):
"date_inscription": args[8], "date_inscription": args[8],
"date_solutions": args[9], "date_solutions": args[9],
"date_syntheses": args[10], "date_syntheses": args[10],
"final": args[11], "date_solutions_2": args[11],
"year": args[12], "date_syntheses_2": args[12],
"final": args[13],
"year": args[14],
} }
with transaction.atomic(): with transaction.atomic():
Tournament.objects.create(**obj_dict) Tournament.objects.create(**obj_dict)