I am a big idiot

This commit is contained in:
Yohann D'ANELLO 2020-08-01 16:33:29 +02:00
parent b9ae701021
commit dd812e09fc
1 changed files with 4 additions and 4 deletions

View File

@ -170,10 +170,10 @@ class Command(ImportCommand):
} }
note_dict["created_at"] = make_aware(row["previous_report_date"]) # Not perfect, but good approximation note_dict["created_at"] = make_aware(row["previous_report_date"]) # Not perfect, but good approximation
note_dict["polymorphic_ctype"] = note_club_type note_dict["polymorphic_ctype"] = note_club_type
#bulk_mgr.add(Club(**obj_dict), bulk_mgr.add(Club(**obj_dict),
# Note(**note_dict), Note(**note_dict),
# NoteClub(**note_club_dict), NoteClub(**note_club_dict),
# Alias(**alias_dict)) Alias(**alias_dict))
pk_club += 1 pk_club += 1
# row import completed # row import completed
MAP_IDBDE[row["idbde"]] = pk_note MAP_IDBDE[row["idbde"]] = pk_note