1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +00:00
django/django/middleware
Mariusz Felisiak f200d83698 [4.2.x] 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>

Backport of 0e444e84f8 from main
2023-05-02 06:33:23 +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 Fixed #34074 -- Added headers argument to RequestFactory and Client classes. 2022-11-14 10:21:51 +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 [4.2.x] Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used. 2023-05-02 06:33:23 +02:00
security.py Used more augmented assignment statements. 2022-10-31 12:30:13 +01:00