From dd812e09fc843536a1757e1227c034b5dd638f50 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 1 Aug 2020 16:33:29 +0200 Subject: [PATCH] I am a big idiot --- management/commands/import_account.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/management/commands/import_account.py b/management/commands/import_account.py index f8dc514..d768ac0 100644 --- a/management/commands/import_account.py +++ b/management/commands/import_account.py @@ -170,10 +170,10 @@ class Command(ImportCommand): } note_dict["created_at"] = make_aware(row["previous_report_date"]) # Not perfect, but good approximation note_dict["polymorphic_ctype"] = note_club_type - #bulk_mgr.add(Club(**obj_dict), - # Note(**note_dict), - # NoteClub(**note_club_dict), - # Alias(**alias_dict)) + bulk_mgr.add(Club(**obj_dict), + Note(**note_dict), + NoteClub(**note_club_dict), + Alias(**alias_dict)) pk_club += 1 # row import completed MAP_IDBDE[row["idbde"]] = pk_note