1
0
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:
Jannis Leidel
2010-03-01 10:19:01 +00:00
parent 68dd63b984
commit 284e7e3cbd
3 changed files with 16 additions and 9 deletions

View File

@@ -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):