django1/django/db/backends/sqlite3
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
..
__init__.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00
base.py Fixed #22321 -- Wrapped exceptions in _set_autocommit. 2014-04-10 20:16:12 +02:00
client.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
creation.py Reorganized the database test settings 2014-03-09 03:57:18 +02:00
introspection.py Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
schema.py Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00