*prefetch_related* is great, but it would be nice to be able to reuse its 
capabilities with lists of model instances already retrieved by other code 
(or from cache, or newly constructed, etc.). It seems this is possible by 
using *django.db.models.query.prefetch_related_objects* which is the 
function implementing all the prefetch capability - I've just seen it used 
on my project fine. Could *prefetch_related_objects* be documented as a 
part of Django's public API, or are there arguments against it?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/c7634422-6d72-4f83-ada3-d2a0cce099e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to