Skip to content

Commit

Permalink
Corrected small error when preserving an I18N-related setting value i…
Browse files Browse the repository at this point in the history
…n an admin views test setup.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Feb 16, 2011
1 parent 319de16 commit d504210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/admin_views/tests.py
Expand Up @@ -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')
Expand Down

0 comments on commit d504210

Please sign in to comment.