#36593: Deprecate select_related() with no arguments
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
Type: | Johnson
Cleanup/optimization | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"f386d8ec7cbf42b350f5958b552cd3492a493d5b" f386d8ec]:
{{{#!CommitTicketReference repository=""
revision="f386d8ec7cbf42b350f5958b552cd3492a493d5b"
Fixed #36593 -- Deprecated QuerySet.select_related() with no arguments.
This commit deprecates the "fetch all relations" form of
`QuerySet.select_related()` due to its poor performance characteristics,
and
updates several tests relying on that feature to ignore the new warning.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36593#comment:10>
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/0107019e17e21f42-50b03ddb-65b3-4633-b92d-3a43d6701bbb-000000%40eu-central-1.amazonses.com.