henriquebastos/django-aggregate-if — pull request #9 by end0 (2014-08-29 10:22:06+00:00)
Title: Reworked query.promote_joins() call to work with Django 1.5-1.6 and 1.7 ...

...(which drops the unconditional arg)