diff options
| author | Tim Graham <timograham@gmail.com> | 2014-01-16 20:47:02 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-16 20:49:06 -0500 |
| commit | b1cc1633e0ae2b74611dde2b832c0368c2984b4e (patch) | |
| tree | 2946790f7a961251b6508068163a2474ec8b880d /docs/ref | |
| parent | 363b8c690a992f78f40137e0ff406cb3167653d6 (diff) | |
[1.6.x] Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.
Backport of 9173d2cb74 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/querysets.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 908291d9bf..dc51e26366 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1523,6 +1523,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 |
