1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Refs #15902 -- Stopped set_language() storing user's language in the session.

Per deprecation timeline.
This commit is contained in:
Mariusz Felisiak
2021-01-06 13:16:24 +01:00
parent 52a238ddf2
commit d134b0b93e
8 changed files with 15 additions and 92 deletions

View File

@@ -254,6 +254,9 @@ to remove usage of these features.
* ``django.utils.translation.ugettext()``, ``ugettext_lazy()``,
``ugettext_noop()``, ``ungettext()``, and ``ungettext_lazy()`` are removed.
* ``django.views.i18n.set_language()`` doesn't set the user language in
``request.session`` (key ``_language``).
See :ref:`deprecated-features-3.1` for details on these changes, including how
to remove usage of these features.