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:
committed by
Tim Graham
parent
75de55f1f3
commit
81b5971b1c
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user