summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorVishal Lal <vish61@gmail.com>2014-04-04 04:05:30 +0000
committerClaude Paroz <claude@2xlibre.net>2014-04-04 09:48:56 +0200
commit4ad4a236de1726eac6da1f865c9f2f80e080794f (patch)
tree608e17985e2bc169eaee2b1e529272edd0c5d157 /docs/ref
parent23984cf907168d2a26579e54bf53d5d222431f01 (diff)
[1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
Backport of 8f621b83e9 from master.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/testing.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/testing.txt b/docs/ref/contrib/gis/testing.txt
index d601b413e9..4ef58f3934 100644
--- a/docs/ref/contrib/gis/testing.txt
+++ b/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::