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:
committed by
Tim Graham
parent
d50e0e6553
commit
7765d3ba9b
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user