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:47:02 -0500 |
| commit | 9173d2cb746f253ca31183eb63ac47e440c74ce3 (patch) | |
| tree | 1bd4ad17faaf49e381954b6d3ab8dd6e7c239aa1 /docs | |
| parent | 54d396ff8500b56b81e0b131cd9158359179e5ca (diff) | |
Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.
Diffstat (limited to 'docs')
| -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 e15e55d05c..ca9bf1dbd1 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 |
