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:33:18 +0200 |
| commit | 839f906a23271b24bf435b16575bbbfd0d2ddcf9 (patch) | |
| tree | 1b4526f383a098cfa44d3e66c084dc6f73680be8 /docs | |
| parent | 30706246e74e2505c03bbc7c59a7b1c5c2c014cb (diff) | |
[2.2.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 |
1 files changed, 4 insertions, 1 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`). |
