diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index dd7e4b3d15..74fb20f892 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -34,7 +34,8 @@ class AdminScriptTestCase(unittest.TestCase): settings_file.write('# Settings file automatically generated by regressiontests.admin_scripts test case\n') exports = [ 'DATABASES', - 'ROOT_URLCONF' + 'ROOT_URLCONF', + 'SECRET_KEY', ] for s in exports: if hasattr(settings, s):