1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.10.x] Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with prefix_default_language=False.

Backport of b8a815e9df from master
This commit is contained in:
Krzysztof Urbaniak
2016-11-05 12:56:34 +01:00
committed by Tim Graham
parent 75de55f1f3
commit 81b5971b1c
4 changed files with 22 additions and 1 deletions

View File

@@ -23,3 +23,6 @@ Bugfixes
* Fixed a ``QuerySet.update()`` crash on SQLite when updating a
``DateTimeField`` with an ``F()`` expression and a ``timedelta``
(:ticket:`27544`).
* Prevented ``LocaleMiddleware`` from redirecting on URLs that should return
404 when using ``prefix_default_language=False`` (:ticket:`27402`).