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/2.2.16.txt | |
| parent | 0aeb802cf054cb369646c871b53c93a83c1fa58a (diff) | |
Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Diffstat (limited to 'docs/releases/2.2.16.txt')
| -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`). |
