summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Gorcester <andrew.gorcester@gmail.com>2014-04-08 12:30:25 +0700
committerSimon Charette <charette.s@gmail.com>2014-04-18 18:34:00 -0400
commitbc5d568e1e5c8f109bc83c1cdd943de60b66f763 (patch)
tree918765aaad73840bbb656d5b3b0e9fb5754bc4cd /scripts
parentb06e45bbf6988f9f8671bbc5b5b63d419d50edda (diff)
[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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions