tangentlabs/django-oscar — pull request #243 by elbaschid (2012-07-23 02:19:36+00:00)
Title: updated prefetch_related as suggested in pull request #238

I updated the queryset to use ``stockrecord`` and
``stockrecord__partner`` in the prefetch_related method parameters.
Testing it on the product list page for all products reduced the
amount of queries from 159 to 149.