summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-25 13:22:40 +0200
committerGitHub <noreply@github.com>2021-05-25 13:22:40 +0200
commit7e51893911237dfca9294e3ca12163ff813fb656 (patch)
tree3eba1734b40c28b92c2b3cab965a7ee7b828020e /tests/admin_scripts
parent3e0fdf5546b8e172c87f255d55c6ddbe7d69f365 (diff)
downloaddjango-7e51893911237dfca9294e3ca12163ff813fb656.tar.gz
Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings().
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 8dd06f660b..e754989101 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -64,6 +64,7 @@ class AdminScriptTestCase(SimpleTestCase):
'DEFAULT_AUTO_FIELD',
'ROOT_URLCONF',
'SECRET_KEY',
+ 'USE_TZ',
]
for s in exports:
if hasattr(settings, s):