mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-11-04 08:32:10 +01:00 
			
		
		
		
	I am a big idiot
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user