Accelerate bulk insert using Django’s ORM? April 7, 2023 by Tarik Billa Django 1.4 provides a bulk_create() method on the QuerySet object, see: https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.bulk_create https://docs.djangoproject.com/en/dev/releases/1.4/ https://code.djangoproject.com/ticket/7596 More Related Contents: Django queries – id vs pk Unique fields that allow nulls in Django Django: Set foreign key using integer? Django: show/log ORM sql calls from python shell How to resolve “django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: foo” in Django 1.7? Django 1.11 Annotating a Subquery Aggregate How to filter empty or NULL names in a QuerySet? How to view corresponding SQL query of the Django ORM’s queryset? In a django model custom save() method, how should you identify a new object? How to use the request in a ModelForm in Django Django – iterate number in for loop of a template Django Static Files Development How to convert a Django QuerySet to a list? Tying in to Django Admin’s Model History django class-based views with inline model-form or formset Django: accessing session variables from within a template? Django: Can class-based views accept two forms at a time? Django: Redirect logged in users from login page Overriding AppConfig.ready() How do I add a Foreign Key Field to a ModelForm in Django? boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden Can I call a view from within another view? “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” in django django dynamically filtering with q objects Django CreateView: How to perform action upon save How can I restrict Django’s GenericForeignKey to a list of models? Exception: You cannot access body after reading from request’s data stream Django {% static ‘path’ %} in javascript file Nginx connection reset, response from uWsgi lost Log in / Sign up directly on home page