django/tests/i18n/patterns
Alex Hayward eeed488a34 Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern.
get_language_from_request() uses Accept-Language and/or Cookie to determine the
correct redirect. Upstream caches need the matching Vary header to cache the
result.
2021-09-01 14:02:37 +02:00
..
locale Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. 2017-09-20 18:04:42 -04:00
templates Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
urls Refs #26431 -- Added tests for resolving URL and translate_url() with provided optional parameter. 2019-06-24 11:30:26 +02:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
tests.py Fixed #32768 -- Added Vary header when redirecting to prefixed i18n pattern. 2021-09-01 14:02:37 +02:00