If the LocaleMiddleware is not placed after SessionMiddleware, it won't be
able to find the language code and won't be able to `activate` the
language from HTTPRequest and use it.
So, if the order of these Middleware classes is not appropriate, a warning
should be displayed.
--
Ticket URL: <https://code.djangoproject.com/ticket/29716>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Sanyam Khurana
--
Ticket URL: <https://code.djangoproject.com/ticket/29716#comment:1>
* status: assigned => closed
* resolution: => wontfix
Comment:
See ticket #15902, the language is now (from Django 2.1) also stored in a
cookie, that's why I think the issue you mention should not happen again
in the future.
--
Ticket URL: <https://code.djangoproject.com/ticket/29716#comment:2>