django/django — pull request #48 by akaariai (2012-05-07 17:43:08+00:00)
Title: Fixed total_ordering for Python < 2.7.2

The total_ordering of Python versions prior to 2.7.2 is buggy, and
this caused an infinite recursion. Use the borrowed total_ordering
for all Python versions prior to 2.7.2.