summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergio <smaisidoro@gmail.com>2022-10-02 13:59:13 +0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-10-13 10:38:26 +0200
commit94e7f471c4edef845a4fe5e3160132997b4cca81 (patch)
treee470a0ca3cb2ac861b2ac62b805c042381ba3c72 /docs
parent004f985b918d5ea36fbed9b050459dd22edaf396 (diff)
Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.2.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt
index c3ddb7c7af..6a87a5bbe9 100644
--- a/docs/releases/4.2.txt
+++ b/docs/releases/4.2.txt
@@ -186,6 +186,10 @@ Internationalization
* Added support and translations for the Central Kurdish (Sorani) language.
+* The :class:`~django.middleware.locale.LocaleMiddleware` now respects a
+ language from the request when :func:`~django.conf.urls.i18n.i18n_patterns`
+ is used with the ``prefix_default_language`` argument set to ``False``.
+
Logging
~~~~~~~