1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-26 01:12:25 +00:00

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

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["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