Corrected small error when preserving an I18N-related setting value in an admin views test setup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
319de16ff0
commit
d5042109b8
|
@ -48,7 +48,7 @@ class AdminViewBasicTest(TestCase):
|
|||
urlbit = 'admin'
|
||||
|
||||
def setUp(self):
|
||||
self.old_USE_I18N = settings.LANGUAGE_CODE
|
||||
self.old_USE_I18N = settings.USE_I18N
|
||||
self.old_USE_L10N = settings.USE_L10N
|
||||
self.old_LANGUAGE_CODE = settings.LANGUAGE_CODE
|
||||
self.client.login(username='super', password='secret')
|
||||
|
|
Loading…
Reference in New Issue