1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).

This commit is contained in:
Daniel Hillier
2020-08-08 15:17:36 +10:00
committed by Mariusz Felisiak
parent 0aeb802cf0
commit 60626162f7
6 changed files with 62 additions and 5 deletions

View File

@@ -9,4 +9,7 @@ Django 3.0.10 fixes a data loss bug in 3.0.9.
Bugfixes
========
* ...
* Fixed a data loss possibility in the
:meth:`~django.db.models.query.QuerySet.select_for_update()`. When using
related fields pointing to a proxy model in the ``of`` argument, the
corresponding model was not locked (:ticket:`31866`).