diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-14 21:11:17 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-14 21:13:27 +0200 |
| commit | 208e72276a3e12a4e7998b9a1219bc96a16cf7b8 (patch) | |
| tree | 0b82534d3aef1eecaf3b83a224cc11a0fb1f0fe0 /docs/ref | |
| parent | d0267690f8a8e83065459d13a5a6f29e75640f78 (diff) | |
[3.2.x] Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields on MySQL/MariaDB.
Thanks Matt Westcott for the report.
Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2.
Backport of ca9872905559026af82000e46cde6f7dedc897b6 from main
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/querysets.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 7b6709ae8c..c840b6cd89 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2645,7 +2645,8 @@ unique field in the order that is specified without conflicts. For example:: .. note:: - If the ``order_by()`` clause contains annotations, it will be ignored. + ``order_by()`` clause will be ignored if it contains annotations, inherited + fields, or lookups spanning relations. ``delete()`` ~~~~~~~~~~~~ |
