tangentlabs/django-oscar — pull request #173 by elbaschid (2012-05-10 07:12:29+00:00)
Title: Reduced SQL queries for products category page (similar to issue #56148)

Working on Oscar I just realised that there was a similar issue to #56148 regarding the number of queries. I adjusted the queries accordingly. As it is basically the same ``QuerySet`` as for the product view I moved it into a module function to prevent code duplication.