Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed test cases that generate their own settings file.

Now they include SECRET_KEY.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fe7ccdc5bee76028a14f4afd2532f748253854a4 1 parent df1e505
@PaulMcMillan PaulMcMillan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/regressiontests/admin_scripts/tests.py
View
3  tests/regressiontests/admin_scripts/tests.py
@@ -34,7 +34,8 @@ def write_settings(self, filename, apps=None, is_dir=False, sdict=None):
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):
Please sign in to comment.
Something went wrong with that request. Please try again.