Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings().

This commit is contained in:
Mariusz Felisiak 2021-05-25 13:22:40 +02:00 committed by GitHub
parent 3e0fdf5546
commit 7e51893911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class AdminScriptTestCase(SimpleTestCase):
'DEFAULT_AUTO_FIELD', 'DEFAULT_AUTO_FIELD',
'ROOT_URLCONF', 'ROOT_URLCONF',
'SECRET_KEY', 'SECRET_KEY',
'USE_TZ',
] ]
for s in exports: for s in exports:
if hasattr(settings, s): if hasattr(settings, s):