mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #14825 -- LocaleMiddleware keeps language
* LocaleMiddleware stores language into session if it is not present there.
This commit is contained in:
committed by
Claude Paroz
parent
1514f17aa6
commit
6de81d65f4
@@ -266,6 +266,10 @@ Minor features
|
||||
``False`` allows the field to reference proxy models. The default is ``True``
|
||||
to retain the old behavior.
|
||||
|
||||
* The middleware :class:`~django.middleware.locale.LocaleMiddleware` now
|
||||
stores active language in session if it is not present there. This
|
||||
prevents loss of language settings after session flush, e.g. logout.
|
||||
|
||||
Backwards incompatible changes in 1.6
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user