#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 Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"0e65abd2d916dca4cc9aa7c98e87a71440443498" 0e65abd2]:
{{{#!CommitTicketReference repository=""
revision="0e65abd2d916dca4cc9aa7c98e87a71440443498"
Refs #28900 -- Made Query.has_select_fields a computed property.
This should ensure it never drifts from Query.selected while maintaining
backward compatibility.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28900#comment:24>
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/0107019079068c0e-d0737700-aa66-4a2e-b078-e83614b0e9cc-000000%40eu-central-1.amazonses.com.