django1/django/db/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
..
operations Mark model renaming as irreversible for now (#22248) 2014-03-19 21:25:26 -07:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Fixed #22397 -- Issues removing M2M field with explicit through model. 2014-04-17 12:54:35 -04:00
executor.py Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
graph.py Fixed #21142: Dependency failures on unmigrated apps. 2014-01-08 13:00:12 +00:00
loader.py Fix bad conflict detection during makemigrations 2014-03-08 13:53:20 -08:00
migration.py Fixed #22397 -- Issues removing M2M field with explicit through model. 2014-04-17 12:54:35 -04:00
optimizer.py Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
questioner.py Fixed #22239 -- Add auto detection of renamed models 2014-03-10 13:55:44 +13:00
recorder.py Renamed AppCache to Apps. 2013-12-24 12:25:17 +01:00
state.py Fixed #22397 -- Issues removing M2M field with explicit through model. 2014-04-17 12:54:35 -04:00
writer.py Fixed #22350 -- Consistently serialize bytes and text in migrations. 2014-04-13 18:22:26 -04:00