index
:
django.git
fix-31295
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
django
/
middleware
/
locale.py
Age
Commit message (
Expand
)
Author
2023-05-02
Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n pa...
Mariusz Felisiak
2022-10-13
Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18...
Sergio
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2021-09-01
Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern.
Alex Hayward
2020-09-14
Fixed #31789 -- Added a new headers interface to HttpResponse.
Tom Carrick
2020-05-04
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and c...
Adam Johnson
2017-11-14
Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().
Дилян Палаузов
2017-03-04
Refs #27656 -- Updated remaining docstring verbs according to PEP 257.
Anton Samarchyan
2016-11-29
Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with prefix_defaul...
Krzysztof Urbaniak
2016-06-17
Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception...
Carl Meyer
2016-05-17
Fixed #26601 -- Improved middleware per DEP 0005.
Florian Apolloner
2016-04-04
Fixed W503 flake8 warnings.
Tim Graham
2016-03-10
Refs #25933 -- Fixed i18n_patterns() prefix_default_language=False with HTTP_...
Krzysztof Urbaniak
2016-03-08
Fixed #25933 -- Allowed an unprefixed default language in i18n_patterns().
Krzysztof Urbaniak
2016-03-03
Fixed #26295 -- Allowed using i18n_patterns() in any root URLconf.
Simon Charette
2015-12-31
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Marten Kenbeek
2015-03-26
Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.
Bas Peschier
2015-03-18
Fixed #23960 -- Removed http.fix_location_header
Claude Paroz
2015-03-02
Fixed #24360 -- Delayed internal LocaleMiddleware variable initialization
Claude Paroz
2015-02-06
Sorted imports with isort; refs #23860.
Tim Graham
2014-08-14
Fixed #21579 -- Made LocaleMiddleware respect script prefix.
Tim Graham
2014-02-26
Fixed #21389 -- Accept most valid language codes
Bouke Haarsma
2013-12-12
Fixed #21473 -- Limited language preservation to logout
Ludwik Trammer
2013-10-22
Fixed #5789 -- Changed LocaleMiddleware session variable to '_language'.
Bouke Haarsma
2013-10-21
Fixed #21288 -- Fixed E126 pep8 warnings
Alasdair Nicol
2013-10-15
Fixed #7603 -- Added a 'scheme' property to the HttpRequest object
Unai Zalakain
2013-10-03
Fixed #19277 -- Added LocaleMiddleware.response_redirect_class
Emil Stenström
2013-08-04
Deprecated SortedDict (replaced with collections.OrderedDict)
Curtis Maloney
2013-05-26
Replaced `and...or...` constructs with PEP 308 conditional expressions.
Ramiro Morales
2013-05-25
Fixed #14825 -- LocaleMiddleware keeps language
Vlastimil Zíma
2013-05-19
Fixed #11915: generic Accept-Language matches country-specific variants
Łukasz Langa
2013-02-28
Fixed #5241 -- Kept active transalation in LocaleMiddleware.process_response.
Aymeric Augustin
2013-02-23
Fixes #17866: Vary: Accept-Language header when language prefix used
Łukasz Langa
2013-01-11
Fixed #19488 -- Made i18n_patterns redirect work with non-slash-ending paths
Claude Paroz
2012-03-02
Fixed #17817 -- Modified LocalMiddleware to use full URLs when redirecting to...
Jannis Leidel
2012-03-02
Fixed #17734 -- Made sure to only redirect translated URLs if they can actual...
Jannis Leidel
2012-02-18
Fixed #17720 -- Stopped the LocaleMiddleware from overeagerly using the reque...
Jannis Leidel
2011-06-15
Fixed #11585 -- Added ability to translate and prefix URL patterns with a lan...
Jannis Leidel
2008-08-09
Fixed #8121 -- Don't override the Content-Language HTTP header in the locale
Malcolm Tredinnick
2006-06-08
Fixed #2109 -- Convert old-style classes to new-style classes throughout Djan...
Adrian Holovaty
2006-05-05
Fixed #1707 -- LocaleMiddleware now sets Content-Language header. Thanks, ube...
Adrian Holovaty
2005-11-04
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: th...
Jacob Kaplan-Moss