From 4ad4a236de1726eac6da1f865c9f2f80e080794f Mon Sep 17 00:00:00 2001 From: Vishal Lal Date: Fri, 4 Apr 2014 04:05:30 +0000 Subject: [PATCH] [1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing Backport of 8f621b83e9 from master. --- docs/ref/contrib/gis/testing.txt | 2 ++ 1 file changed, 2 insertions(+) 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::