Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18285 -- Documented that bulk_create doesn't work with M2M rel…

…ationships.
  • Loading branch information...
commit 9173d2cb746f253ca31183eb63ac47e440c74ce3 1 parent 54d396f
Tim Graham timgraham authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  docs/ref/models/querysets.txt
1  docs/ref/models/querysets.txt
View
@@ -1625,6 +1625,7 @@ This has a number of caveats though:
* It does not work with child models in a multi-table inheritance scenario.
* If the model's primary key is an :class:`~django.db.models.AutoField` it
does not retrieve and set the primary key attribute, as ``save()`` does.
+* It does not work with many-to-many relationships.
The ``batch_size`` parameter controls how many objects are created in single
query. The default is to create all objects in one batch, except for SQLite
Please sign in to comment.
Something went wrong with that request. Please try again.