diff options
| author | Sjoerd Job Postmus <sjoerdjob@sjec.nl> | 2016-08-05 23:57:55 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-06 10:25:29 -0400 |
| commit | 2f18cbc3130d1d601ab6c40d26930b8cfbd77a75 (patch) | |
| tree | 53692d3e660e01e1fd20e4845d552eda23d3777b /docs | |
| parent | d68b145a6f6e5e5dc1775cdaa904d83ee28ed615 (diff) | |
[1.10.x] Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert.
Backport of 3246d2b4bb981a8d782a349a99e9b89206028cee from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.10.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.10.1.txt b/docs/releases/1.10.1.txt index 2950c06042..b805fbe12b 100644 --- a/docs/releases/1.10.1.txt +++ b/docs/releases/1.10.1.txt @@ -37,3 +37,8 @@ Bugfixes * Fixed a regression in ``Client.force_login()`` which required specifying a ``backend`` rather than automatically using the first one if multiple backends are configured (:ticket:`27027`). + +* Made ``QuerySet.bulk_create()`` properly initialize model instances on + backends, such as PostgreSQL, that support returning the IDs of the created + records so that many-to-many relationships can be used on the new objects + (:ticket:`27026`). |
