As of Django 1.4, there exists a bulk_create()
method on the QuerySet object, which allows for inserting a list of objects in a single query. For more info, see:
- Django documentation for
bulk_create
- Django 1.4 release notes
- The ticket that implemented this feature