diff options
author | Jeremy Bowman <jbowman@edx.org> | 2018-04-09 13:35:06 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-04-11 23:17:11 -0400 |
commit | ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0 (patch) | |
tree | ccb5560ac1a68905e084ea84b9c8b511273ef674 /docs | |
parent | 003334f8af29e2023cf7ad7d080aa9ab26a7c528 (diff) | |
download | django-ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0.tar.gz |
Fixed #29193 -- Prevented unnecessary foreign key drops when altering a unique field.
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.
Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/releases/1.11.13.txt | 4 | ||||
-rw-r--r-- | docs/releases/2.0.5.txt | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/releases/1.11.13.txt b/docs/releases/1.11.13.txt index 8dbd651652..b9fd3329ef 100644 --- a/docs/releases/1.11.13.txt +++ b/docs/releases/1.11.13.txt @@ -9,4 +9,6 @@ Django 1.11.13 fixes several bugs in 1.11.12. Bugfixes ======== -* ... +* Fixed a regression in Django 1.11.8 where altering a field with a unique + constraint may drop and rebuild more foreign keys than necessary + (:ticket:`29193`). diff --git a/docs/releases/2.0.5.txt b/docs/releases/2.0.5.txt index c7a7a84d9e..c88135aeb9 100644 --- a/docs/releases/2.0.5.txt +++ b/docs/releases/2.0.5.txt @@ -11,3 +11,7 @@ Bugfixes * Corrected the import paths that ``inspectdb`` generates for ``django.contrib.postgres`` fields (:ticket:`29307`). + +* Fixed a regression in Django 1.11.8 where altering a field with a unique + constraint may drop and rebuild more foreign keys than necessary + (:ticket:`29193`). |