[1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing

Backport of 8f621b83e9 from master.
This commit is contained in:
Vishal Lal 2014-04-04 04:05:30 +00:00 committed by Claude Paroz
parent 23984cf907
commit 4ad4a236de
1 changed files with 2 additions and 0 deletions

View File

@ -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 Assuming the settings above were in a ``postgis.py`` file in the same
directory as ``runtests.py``, then all Django and GeoDjango tests would directory as ``runtests.py``, then all Django and GeoDjango tests would
be performed when executing the command:: be performed when executing the command::