1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +00:00
django/tests/migrations
Andrew Gorcester bc5d568e1e [1.7.x] 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.

Backport of 956bd64424 from master
2014-04-18 18:34:00 -04:00
..
faulty_migrations
migrations_test_apps
test_migrations [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00
test_migrations_2 [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00
test_migrations_conflict [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00
test_migrations_squashed [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00
test_migrations_unmigdep [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00
__init__.py
models.py
test_autodetector.py [1.7.x] Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 18:34:00 -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
test_graph.py
test_loader.py Make test stronger to hopefully fix odd Jenkins failure 2014-01-08 21:20:29 +00:00
test_operations.py [1.7.x] Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 18:34:00 -04:00
test_optimizer.py
test_state.py [1.7.x] Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 18:34:00 -04:00
test_writer.py [1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 19:03:20 -04:00