#24534 closed Cleanup/optimization (invalid)
Document effects of calling select_related()
Reported by: | René Fleschenberg | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | select_related |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
According to jarshwah, calling select_related() without arguments selects all relations up to some arbitrary depth, but the docs do not mention this.
https://docs.djangoproject.com/en/1.7/ref/models/querysets/#select-related
This behaviour should be documented (or maybe even changed?)
Change History (2)
comment:1 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | 1.7 → master |
Note:
See TracTickets
for help on using tickets.
I should have checked the development docs. Sorry for the noise.