From e16629cc70c155e4d32244f80684295b459a8a59 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 1 Aug 2020 16:37:35 +0200 Subject: [PATCH] Parent club id is the id and not the club --- management/commands/import_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/commands/import_account.py b/management/commands/import_account.py index d768ac0..ccb403e 100644 --- a/management/commands/import_account.py +++ b/management/commands/import_account.py @@ -151,7 +151,7 @@ class Command(ImportCommand): "pk": pk_club, "name": row["pseudo"], "email": row["mail"], - "parent_club": 1, # All clubs depends on BDE by default + "parent_club_id": 1, # All clubs depends on BDE by default "membership_duration": M_DURATION, "membership_start": M_START, "membership_end": M_END,