1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/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
..
faulty_migrations Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
migrations_test_apps Fixed #22791 -- Invoke interactive questioner only for conflicts in specified apps. 2014-07-14 11:00:49 -04:00
test_migrations Fixed #22881 -- Better soft_applied migration detection 2014-06-23 13:36:22 +12:00
test_migrations_backwards_deps_1 Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations." 2014-09-24 15:49:30 -04:00
test_migrations_conflict Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
test_migrations_custom_user Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
test_migrations_first Fixed #22861: Internal migrations done first so __first__ works 2014-06-17 23:28:35 -07:00
test_migrations_no_ancestor Fixed #22602 -- Improved code coverage of makemigrations command tests. 2014-05-23 08:05:46 -04:00
test_migrations_no_changes Fixed #22970: Incorrect dependencies for existing migrated apps 2014-07-09 23:53:43 -07:00
test_migrations_no_default Fixed #22676 -- makemigrations --dry-run should not ask for defaults 2014-05-24 09:56:18 -04:00
test_migrations_run_before Implement Migration.run_before 2014-05-29 22:42:11 +12:00
test_migrations_squashed Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
test_migrations_squashed_complex Fixed #23556 -- Raised a more meaningful error message when migrations refer to an unavailable node 2014-10-30 00:17:29 +01:00
test_migrations_squashed_complex_multi_apps Fixed #23733 -- Fixed squashing migrations that depend on multiple apps. 2014-10-30 14:39:11 -04:00
test_migrations_squashed_erroneous Fixed #23556 -- Raised a more meaningful error message when migrations refer to an unavailable node 2014-10-30 00:17:29 +01:00
test_migrations_unmigdep Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
__init__.py
models.py Fixed #22970: Incorrect dependencies for existing migrated apps 2014-07-09 23:53:43 -07:00
test_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
test_base.py Fixed #23872 -- Removed sensitivity of migrations tests to CWD. 2014-11-19 15:03:47 -07:00
test_commands.py Fixed #23872 -- Removed sensitivity of migrations tests to CWD. 2014-11-19 15:03:47 -07:00
test_executor.py Added another migration-executor test to avoid regressions. 2014-11-19 19:43:12 -07:00
test_graph.py Fixed bug in circular dependency algo for migration dependencies. 2014-11-25 15:37:34 +00:00
test_loader.py Fixed #23733 -- Fixed squashing migrations that depend on multiple apps. 2014-10-30 14:39:11 -04:00
test_operations.py Fixed duplicate index error on Oracle; refs #23859. 2014-11-20 14:42:39 -05:00
test_optimizer.py Fixed #23844 -- Used topological sort for migration operation dependency resolution. 2014-11-20 12:49:49 -05:00
test_state.py Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. 2014-09-29 00:01:38 +07:00
test_writer.py Fixed #23770 -- Changed serialization strategy for floats with respect to NaN and Inf 2014-11-06 15:30:30 +01:00