1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

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