#35392: aprefetch_related_objects cannot be imported from django.db.models
-------------------------------------+-------------------------------------
Reporter: James Ostrander | Owner: James
| Ostrander
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: prefetch, async, | Triage Stage: Ready for
orm | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):
In [changeset:"ea81c9d343a400b537caaafb47d03676c03df246" ea81c9d]:
{{{#!CommitTicketReference repository=""
revision="ea81c9d343a400b537caaafb47d03676c03df246"
[5.0.x] Fixed #35392, Refs #34331 -- Allowed importing
aprefetch_related_objects from django.db.models.
Thanks James Ostrander for the report and fix, and to Tim Graham and
Mariusz Felisiak for the reviews.
Backport of 36b7024b7fc881b319a2b67876e4f72ba680d6a8 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35392#comment:6>
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/0107018f076af25c-121ba272-2e6e-4a59-a2ea-d8e1c0fc51aa-000000%40eu-central-1.amazonses.com.