#34570: QuerySet.defer() raises an AttributeError when the field is
ManyToManyField or GenericForeignKey
-------------------------------------+-------------------------------------
Reporter: Paco Martínez | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: contenttypes, | Triage Stage: Ready for
defer, manytomanyfield, | checkin
genericforeignkey |
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:"d9e701879612312391c0dca5c158b79a1dabcf18" d9e7018]:
{{{
#!CommitTicketReference repository=""
revision="d9e701879612312391c0dca5c158b79a1dabcf18"
Refs #34570 -- Added extra tests for QuerySet.only() noops.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34570#comment:8>
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/01070188786bf507-1b7b116a-e457-4a15-b1c2-710a43cd6954-000000%40eu-central-1.amazonses.com.