mirror of
https://github.com/django/django.git
synced 2024-12-26 19:16:11 +00:00
Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
This commit is contained in:
parent
9769337ca8
commit
8f621b83e9
@ -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