django1/django/db
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
..
backends Fixed #22397 -- Issues removing M2M field with explicit through model. 2014-04-17 12:54:35 -04:00
migrations Fixed #22397 -- Issues removing M2M field with explicit through model. 2014-04-17 12:54:35 -04:00
models Fixed #22434 -- Retain ordering on related sliced subqueries. 2014-04-16 17:57:11 -04:00
__init__.py Removed unused imports. 2014-03-21 20:18:19 -04:00
transaction.py Improved a comment. Thanks intgr for the report. 2014-04-11 23:01:00 +02:00
utils.py Removed deprecated TRANSACTIONS_MANAGED setting. 2014-03-21 21:34:47 +01:00