I am a big idiot
This commit is contained in:
parent
b9ae701021
commit
dd812e09fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue