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 2.2.16 fixes a data loss bug in 2.2.15.
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`).

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`).

View file

@ -20,3 +20,8 @@ Bugfixes
* Adjusted admin's navigation sidebar template to reduce debug logging when
rendering (:ticket:`31865`).
* 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`).