#28897: QuerySet.update() raises FieldError on queryset ordered by an annotated
field.
-------------------------------------+-------------------------------------
Reporter: Colton Hicks | Owner: David
| Wobrock
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: Admin Interface, | Triage Stage: Ready for
Custom Action, Annotated Field, | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"d44dc31fcb98935a9e1ec7c5fe60862d2ae4febc" d44dc31f]:
{{{
#!CommitTicketReference repository=""
revision="d44dc31fcb98935a9e1ec7c5fe60862d2ae4febc"
[4.1.x] Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by
annotations.
Backport of 3ef37a5245015f69a9b9f884ebc289a35d02c5f6 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28897#comment:20>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018170f09396-949e60da-b55d-4efa-92ed-496ad4617d11-000000%40eu-central-1.amazonses.com.