#30052: QuerySet.only() doesn't support annotations
-------------------------------------+-------------------------------------
Reporter: Kal Sze | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):
In [changeset:"da92a971a087bac653015c384300b968c20fca35" da92a971]:
{{{
#!CommitTicketReference repository=""
revision="da92a971a087bac653015c384300b968c20fca35"
[4.2.x] Refs #30052 -- Clarified that defer() and only() do not work with
aggregated fields.
Backport of b126f694160c4641e64e57dba6b022f06fbfa745 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30052#comment:7>
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/010701897445dff9-91a7507c-0fbb-4333-98ca-09df44a138c4-000000%40eu-central-1.amazonses.com.