summaryrefslogtreecommitdiff
path: root/docs
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 16:44:47 -0400
commit956bd644249337b9467c017aac4eec228dde8c5d (patch)
tree1178ab5fc81da173e5446a8d659c9b61fef2ad45 /docs
parent26d118c3fea34d9487a93b8ae570ef90e7079a76 (diff)
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions