mirror of https://github.com/django/django.git
Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings().
This commit is contained in:
parent
3e0fdf5546
commit
7e51893911
|
@ -64,6 +64,7 @@ class AdminScriptTestCase(SimpleTestCase):
|
|||
'DEFAULT_AUTO_FIELD',
|
||||
'ROOT_URLCONF',
|
||||
'SECRET_KEY',
|
||||
'USE_TZ',
|
||||
]
|
||||
for s in exports:
|
||||
if hasattr(settings, s):
|
||||
|
|
Loading…
Reference in New Issue