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 11:55:10 +0200 |
| commit | 60626162f76f26d32a38d18151700cb041201fb3 (patch) | |
| tree | cb1b1cfc019734f6048b2e069e3667b11ce9116e /docs/releases | |
| parent | 0aeb802cf054cb369646c871b53c93a83c1fa58a (diff) | |
Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Diffstat (limited to 'docs/releases')
| -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`). |
