django1/django/db/migrations
Luke Plant ff3d746e8d 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.
2014-11-25 15:37:34 +00:00
..
operations Revert "Fixed #23892 -- Made deconstructible classes forwards compatible" 2014-11-22 22:29:23 -07:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Fixed #23794 -- Fixed migrations crash when removing a field that's part of index/unique_together. 2014-11-21 10:55:19 -05:00
executor.py Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards. 2014-11-19 16:11:44 -07:00
graph.py Fixed bug in circular dependency algo for migration dependencies. 2014-11-25 15:37:34 +00:00
loader.py Fixed #23733 -- Fixed squashing migrations that depend on multiple apps. 2014-10-30 14:39:11 -04:00
migration.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
optimizer.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
questioner.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
recorder.py Called table_names instead of get_table_list in migrations 2014-09-23 20:13:31 +02:00
state.py Limited lines to 119 characters in django/{contrib,db}. 2014-10-29 07:59:35 -04:00
topological_sort.py Fixed #23844 -- Used topological sort for migration operation dependency resolution. 2014-11-20 12:49:49 -05:00
writer.py Fixed #23770 -- Changed serialization strategy for floats with respect to NaN and Inf 2014-11-06 15:30:30 +01:00