django/django — pull request #3546 by patrys (2014-11-15 19:28:10+00:00)
Title: Fix topological sort

Fixes https://github.com/django/django/pull/3525