tangentlabs/django-oscar — pull request #1056 by piotrjakimiak (2013-12-08 10:44:27+00:00)
Title: Reduce number of evaluated queries.

* Replace "foo.count() == 0" with "not foo.exists()" in python files
* Replace "foo.count() > 0" with "foo.exists()" in python files
* Replace "{% if foo.count %}{% for bar in foo %}" with
"{% if foo %}{% for bar in foo %}"
* Use 'with' template tag in templates
* Add myself to AUTHORS list