1
0
mirror of https://github.com/django/django.git synced 2025-03-27 17:50:46 +00:00
Luke Plant 8e3c3be32d [1.7.x] Fixed bug in circular dependency algo for migration dependencies.
Previous algo only worked if the first item was a part of the loop,
and you would get an infinite loop otherwise (see test).

To fix this, it was much easier to do a pre-pass.

A bonus is that you now get an error message that actually helps you debug
the dependency problem.

Backport of ff3d746e8d8e8fbe6de287bd0f4c3a9fa23c18dc from master, with
additional tests from c5def493d0993d65bf7d96f0a204006cbeaa6178
2014-11-26 08:15:33 +00:00
..
2014-10-27 07:13:47 -04:00
2013-12-24 12:25:17 +01:00
2013-12-24 12:25:17 +01:00
2013-12-10 15:12:48 -05:00
2013-12-10 15:12:48 -05:00
2013-12-10 15:12:48 -05:00
2014-10-20 13:17:00 -04:00
2013-12-14 11:59:15 -05:00
2013-12-24 12:25:17 +01:00
2013-12-14 11:59:15 -05:00
2014-02-28 09:54:53 +01:00