mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
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):
|
||||
|
||||
Reference in New Issue
Block a user