Browse Source

Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing

Vishal Lal 11 years ago
parent
commit
8f621b83e9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/ref/contrib/gis/testing.txt

+ 2 - 0
docs/ref/contrib/gis/testing.txt

@@ -169,6 +169,8 @@ in :mod:`django.contrib.gis`::
        }
     }
 
+    SECRET_KEY = 'django_tests_secret_key'
+
 Assuming the settings above were in a ``postgis.py`` file in the same
 directory as ``runtests.py``, then all Django and GeoDjango tests would
 be performed when executing the command::