Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Paul McMillan authored
3  tests/regressiontests/admin_scripts/tests.py
@@ -34,7 +34,8 @@ def write_settings(self, filename, apps=None, is_dir=False, sdict=None):
34 34
         settings_file.write('# Settings file automatically generated by regressiontests.admin_scripts test case\n')
35 35
         exports = [
36 36
             'DATABASES',
37  
-            'ROOT_URLCONF'
  37
+            'ROOT_URLCONF',
  38
+            'SECRET_KEY',
38 39
         ]
39 40
         for s in exports:
40 41
             if hasattr(settings, s):

0 notes on commit fe7ccdc

Please sign in to comment.
Something went wrong with that request. Please try again.