Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 René Fleschenberg, 10 years ago

Resolution: invalid
Status: newclosed

I should have checked the development docs. Sorry for the noise.

comment:2 by Josh Smeaton, 10 years ago

Triage Stage: UnreviewedAccepted
Version: 1.7master
Note: See TracTickets for help on using tickets.
Back to Top