Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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.
latest commit 956bd64424
Andrew Gorcester andrewsg authored April 08, 2014 charettes committed April 18, 2014
..
Octocat-spinner-32 apps Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX … March 08, 2014
Octocat-spinner-32 bin Started attackign the next flake8 violation October 31, 2013
Octocat-spinner-32 conf Also allowed a non-overridden setting to be deleted April 12, 2014
Octocat-spinner-32 contrib Fixed a KeyError on login with legacy sessions; refs #21649. April 17, 2014
Octocat-spinner-32 core Adapted fixture read mode to file type April 18, 2014
Octocat-spinner-32 db Fixed #22397 -- Issues removing M2M field with explicit through model April 18, 2014
Octocat-spinner-32 dispatch Fixed many typos in comments and docstrings. March 03, 2014
Octocat-spinner-32 forms Refactored some code in SelectDateWidget. April 10, 2014
Octocat-spinner-32 http [1.7.x] Replaced urllib/urlparse imports with from django.utils.six.m… March 31, 2014
Octocat-spinner-32 middleware Corrected many style guide violations that the newest version of flak… March 30, 2014
Octocat-spinner-32 template Fixed #13408 -- Deprecated silent unpacking exception passing in for … April 08, 2014
Octocat-spinner-32 templatetags Fixed #22306 -- Deprecated future versions of cycle and firstof templ… March 28, 2014
Octocat-spinner-32 test Fixed #22465 -- New assertion assertJSONNotEqual April 18, 2014
Octocat-spinner-32 utils Typo fix April 17, 2014
Octocat-spinner-32 views Fixed #22306 -- Deprecated future versions of cycle and firstof templ… March 28, 2014
Octocat-spinner-32 __init__.py Bumped version to reflect master is now pre-1.8. March 21, 2014
Octocat-spinner-32 shortcuts.py Moved relative URL handling added in refs #21177 to a better place. February 15, 2014
Something went wrong with that request. Please try again.