django/django — pull request #1677 by akaariai (2013-09-24 19:06:18+00:00)
Title: Improved query join promotion logic

This pull request improves the logic for join promotion in .annotate() and .values() cases. In addition there is now join demotion logic.