#28900: QuerySet.values() and values_list() for compound queries fails with
annotation.
-------------------------------------+-------------------------------------
Reporter: elliott-omosheye | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 1.11
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: union, values | Triage Stage: Ready for
| 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:"cd1aa54f5a1ad8673f8852aa3b0022c06b154b79" cd1aa54f]:
{{{#!CommitTicketReference repository=""
revision="cd1aa54f5a1ad8673f8852aa3b0022c06b154b79"
[5.2.x] Fixed #36299 -- Prevented field selection on QuerySet.alias()
after values().
Regression in 65ad4ade74dc9208b9d686a451cd6045df0c9c3a.
Refs #28900.
Thanks Jeff Iadarola for the report and tests.
Co-Authored-By: OutOfFocus4 <[email protected]>
Backport of 12b771a1ec4bbfe82405176f5601e6441855a303 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28900#comment:29>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019607765afe-728d0249-9a04-4c3d-b08b-92772158873c-000000%40eu-central-1.amazonses.com.