I have a lot of objects to save in database, and so I want to create Model instances with that.
With django, I can create all the models instances, with MyMode
worked for me to use manual transaction handling for the loop(postgres 9.1):
from django.db import transaction
with transaction.commit_on_success():
for item in items:
MyModel.objects.create(name=item.name)
in fact it's not the same, as 'native' database bulk insert, but it allows you to avoid/descrease transport/orms operations/sql query analyse costs