1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False.

Backport of fba0eaa5d6 from master
This commit is contained in:
Josh Schneier
2017-06-11 20:05:54 -04:00
committed by Tim Graham
parent d50e0e6553
commit 7765d3ba9b
3 changed files with 39 additions and 5 deletions

View File

@@ -51,3 +51,6 @@ Bugfixes
1.11.1, casting was added in Python to avoid localization of numeric values
in Django templates, but this made some use cases more difficult. Casting is
now done in the template using the ``|stringformat:'s'`` filter.
* Prevented a primary key alteration from adding a foreign key constraint if
``db_constraint=False`` (:ticket:`28298`).