Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with prefix_default_language=False.

This commit is contained in:
Krzysztof Urbaniak 2016-11-05 12:56:34 +01:00 committed by Tim Graham
parent ade52ef71f
commit b8a815e9df
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`).