Fix calendars import
This commit is contained in:
		@@ -180,7 +180,7 @@ class Command(BaseCommand):
 | 
				
			|||||||
                        calendars[calendar.id] = calendar
 | 
					                        calendars[calendar.id] = calendar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        if len(calendars) >= bulk_size and not dry_run:
 | 
					                        if len(calendars) >= bulk_size and not dry_run:
 | 
				
			||||||
                            Calendar.objects.bulk_create(calendars,
 | 
					                            Calendar.objects.bulk_create(calendars.values(),
 | 
				
			||||||
                                                         update_conflicts=True,
 | 
					                                                         update_conflicts=True,
 | 
				
			||||||
                                                         update_fields=['monday', 'tuesday', 'wednesday', 'thursday',
 | 
					                                                         update_fields=['monday', 'tuesday', 'wednesday', 'thursday',
 | 
				
			||||||
                                                                        'friday', 'saturday', 'sunday', 'start_date',
 | 
					                                                                        'friday', 'saturday', 'sunday', 'start_date',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user