1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +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

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):