diff options
| author | William Schwartz <wkschwartz@gmail.com> | 2015-06-18 10:12:07 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-02 13:53:51 -0400 |
| commit | 9a5cfa05a0d889db9daa7872a9697daa883f3609 (patch) | |
| tree | 49a9eaecdde0c2d36d39803ce3e73672fd1636ea /docs/ref | |
| parent | fedef7b2c6e80e1e58b028cf9c03267a8950bf6f (diff) | |
Fixed #24997 -- Enabled bulk_create() on proxy models
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/querysets.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index a333ce7b56..039fea3dbc 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1768,6 +1768,10 @@ This has a number of caveats though: does not retrieve and set the primary key attribute, as ``save()`` does. * It does not work with many-to-many relationships. +.. versionchanged:: 1.9 + + Support for using ``bulk_create()`` with proxy models was added. + 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 where the default is such that at most 999 variables per query are used. |
