mirror of
https://github.com/django/django.git
synced 2024-12-26 19:16:11 +00:00
[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:
parent
23984cf907
commit
4ad4a236de
@ -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::
|
||||
|
Loading…
Reference in New Issue
Block a user