Bulk_create django

77 Views Asked by At

Is there a way to dynamically keep progress of the number of instances saved in the database when using bulk_create in django

def bulk_create( self, objs, batch_size=None, ignore_conflicts=False, update_conflicts=False, update_fields=None, unique_fields=None, ):

1

There are 1 best solutions below

0
On

Try Django-simple-History maybe it will be useful to you. Or you can create a custom middle ware