Documentation should clarify lazy nature of querysets
|Reported by:||Simon Willison||Owned by:||jacob|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've answered a couple of comments in the documentation recently about QuerySet lazy evaluation:
That's enough for me to think that this is a frequent misunderstanding. We certainly don't want people to be put off Django because they think it makes horribly inefficient queries, when the exact opposite is true!
An entry in the FAQ would be a good start, but having notes (and a link) about this behaviour in the relevant places in the docs would be smart too.
Change History (5)
Changed 7 years ago by ubernostrum
comment:3 Changed 7 years ago by ubernostrum
- Triage Stage changed from Accepted to Ready for checkin