django/django — pull request #3169 by bwreilly (2014-09-05 21:29:57+00:00)
Title: Prevent possible recursion limit issue in migration planning

This switches out the recursive depth first search for stack based approach.

Additionally adds test that replicates original potential problem.