mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #27026 -- Fixed state initialization of bulk_create() objects if can_return_ids_from_bulk_insert.
This commit is contained in:
committed by
Tim Graham
parent
fc8f097117
commit
3246d2b4bb
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user