mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +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
|
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::
|
||||||
|
Loading…
Reference in New Issue
Block a user