Queryset caching behaviour needs more documentation
|Reported by:||David||Owned by:||nobody|
|Cc:||Seddon, bmispelon@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The documentation for the caching behaviour of querysets is misleading. It implies that queryset results are always cached, but in actual fact the cache is only set if the entire queryset is evaluated - not when a section of the queryset is queried (such as a call to queryset).
I will attach a patch documenting this behaviour shortly.