mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #27558 -- Added test for no index on InnoDB ForeignKey.
The refactor in3f76d1402d
fixed the creation of redundant indexes. Forwardport of82ce55dbbe
from stable/1.10.x
This commit is contained in:
parent
47744a0a4e
commit
dd2e4d7b5d
2 changed files with 17 additions and 0 deletions
|
@ -26,3 +26,6 @@ Bugfixes
|
|||
|
||||
* Prevented ``LocaleMiddleware`` from redirecting on URLs that should return
|
||||
404 when using ``prefix_default_language=False`` (:ticket:`27402`).
|
||||
|
||||
* Prevented an unnecessary index from being created on an InnoDB ``ForeignKey``
|
||||
when the field was added after the model was created (:ticket:`27558`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue