1
0
mirror of https://github.com/django/django.git synced 2024-12-28 03:55:50 +00:00
django/django/middleware
Mariusz Felisiak 0e444e84f8 Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.
Regression in 94e7f471c4.

This reverts commit 94e7f471c4
(refs #34069) and
partly reverts commit 3b4728310a.

Thanks Anthony Baillard for the report.

Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2023-05-02 06:04:18 +02:00
..
__init__.py
cache.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
clickjacking.py Refs #30426 -- Updated XFrameOptionsMiddleware docstring. 2022-04-29 21:17:27 +02:00
common.py Fixed #33700 -- Skipped extra resolution for successful requests not ending with /. 2022-06-02 15:15:04 +02:00
csrf.py Refs #32800 -- Removed CSRF_COOKIE_MASKED transitional setting per deprecation timeline. 2023-01-17 11:49:15 +01:00
gzip.py Fixed #33735 -- Added async support to StreamingHttpResponse. 2022-12-22 10:41:12 +01:00
http.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
locale.py Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used. 2023-05-02 06:04:18 +02:00
security.py Used more augmented assignment statements. 2022-10-31 12:30:13 +01:00