Used queryset.query.promote_joins instead of queryset.query.promote_alias for Django 1.5