mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Refined changes made in r12546 to also respect the request.LANGUAGE_CODE in case the LocaleMiddleware is used to discover the language preference.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
68dd63b984
commit
284e7e3cbd
3 changed files with 16 additions and 9 deletions
1
tests/regressiontests/cache/tests.py
vendored
1
tests/regressiontests/cache/tests.py
vendored
|
|
@ -476,7 +476,6 @@ class CacheI18nTest(unittest.TestCase):
|
|||
('es', 'Spanish'),
|
||||
)
|
||||
settings.CACHE_MIDDLEWARE_KEY_PREFIX = 'settingsprefix'
|
||||
settings.CACHE_MIDDLEWARE_SECONDS
|
||||
self.path = '/cache/test/'
|
||||
|
||||
def tearDown(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue