1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/migrations
Andrew Gorcester 00e3b9a2a9 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-17 12:54:35 -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
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-17 12:54:35 -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-17 12:54:35 -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-17 12:54:35 -04:00
test_writer.py Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00