django/django — pull request #2175 by loic (2014-01-16 18:25:28+00:00)
Title: Allow custom querysets when prefetching through SingleRelatedObjectDescr...

...iptor and ReverseSingleRelatedObjectDescriptor.

Allowing it enables calling performance oriented queryset methods
like select_related when prefetching through single related objects.

Refs #17001.