django/django — pull request #3525 by vanschelven (2014-11-15 12:41:43+00:00)
Title: Use topological sort for migration operation dependency resolution

rather than an ad-hoc algorithm

The topological sort was included from https://bitbucket.org/ericvsmith/toposort
I imagine that this is preferred over creating creating a dependency.