django/tests/migrations
Andrew Gorcester 956bd64424 Fixed #22397 -- Issues removing M2M field with explicit through model
Changed the migration autodetector to remove models last so that FK
and M2M fields will not be left as dangling references. Added a check
in the migration state renderer to error out in the presence of
dangling references instead of leaving them as strings. Fixed a bug
in the sqlite backend to handle the deletion of M2M fields with
"through" models properly (i.e., do nothing successfully).

Thanks to melinath for report, loic for tests and andrewgodwin and
charettes for assistance with architecture.
2014-04-18 16:44:47 -04:00
..
faulty_migrations Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
migrations_test_apps Removed superfluous models.py files. 2013-12-17 11:16:48 +01:00
test_migrations Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00
test_migrations_2 Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00
test_migrations_conflict Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00
test_migrations_squashed Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00
test_migrations_unmigdep Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00
__init__.py Adding a dependency graph class and tests 2013-05-10 12:52:04 +01:00
models.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
test_autodetector.py Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
test_base.py Ensure cursors are closed when no longer needed. 2014-02-02 12:47:21 -05:00
test_commands.py Fixed #16905 -- Added extensible checks (nee validation) framework 2014-01-20 10:45:21 +08:00
test_executor.py Imported override_settings from its new location. 2013-12-23 21:37:56 +01:00
test_graph.py Fix graph tests 2013-05-30 17:56:53 +01:00
test_loader.py Make test stronger to hopefully fix odd Jenkins failure 2014-01-08 21:20:29 +00:00
test_operations.py Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
test_optimizer.py flake8 fixes 2013-11-06 20:00:48 -08:00
test_state.py Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
test_writer.py Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00