django1/django/db/backends
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
..
dummy Removed legacy transaction management per the deprecation timeline. 2014-03-21 21:06:50 +01:00
mysql Fixed #22321 -- Wrapped exceptions in _set_autocommit. 2014-04-10 20:16:12 +02:00
oracle Fixed #22321 -- Wrapped exceptions in _set_autocommit. 2014-04-10 20:16:12 +02:00
postgresql_psycopg2 Fixed flake8 warnings introduced in recent commits. 2014-04-16 16:49:37 -04:00
sqlite3 Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
__init__.py Fixed #21239 -- Maintained atomicity when closing the connection. 2014-04-10 20:57:43 +02:00
creation.py Removed unused imports. 2014-03-21 20:18:19 -04:00
schema.py Fixed #22460 -- Explicity remove constraints when dropping a related field. 2014-04-16 15:38:31 -04:00
signals.py Fixed #13798 -- Added connection argument to the connection_created signal. Thanks to liangent for the report, and Alex Gaynor for the patch. 2010-08-30 13:21:18 +00:00
util.py Add a useful stacklevel to some RemovedInDjango19Warnings 2014-03-27 15:44:52 +13:00
utils.py Corrected many style guide violations that the newest version of flake8 catches 2014-03-30 12:11:05 -07:00