diff options
| author | Daniel Hillier <daniel.hillier@gmail.com> | 2020-08-08 15:17:36 +1000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-11 12:30:31 +0200 |
| commit | f139372491b35d36748f0fb24146fb20f7e1eead (patch) | |
| tree | 09b3dd8c4b13110a039f3223fe6c487d49a30501 /docs | |
| parent | 02b474f2a4675bffee0cc1396a9c4ad22aef3580 (diff) | |
[3.1.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Backport of 60626162f76f26d32a38d18151700cb041201fb3 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.16.txt | 5 | ||||
| -rw-r--r-- | docs/releases/3.0.10.txt | 5 | ||||
| -rw-r--r-- | docs/releases/3.1.1.txt | 5 |
3 files changed, 13 insertions, 2 deletions
diff --git a/docs/releases/2.2.16.txt b/docs/releases/2.2.16.txt index 7e80406e9d..daba6f6f52 100644 --- a/docs/releases/2.2.16.txt +++ b/docs/releases/2.2.16.txt @@ -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`). diff --git a/docs/releases/3.0.10.txt b/docs/releases/3.0.10.txt index 66c49c5dff..2d97851163 100644 --- a/docs/releases/3.0.10.txt +++ b/docs/releases/3.0.10.txt @@ -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`). diff --git a/docs/releases/3.1.1.txt b/docs/releases/3.1.1.txt index c777b3cc60..6aa091bb82 100644 --- a/docs/releases/3.1.1.txt +++ b/docs/releases/3.1.1.txt @@ -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`). |
