Commit 4ad4a236 authored by Vishal Lal's avatar Vishal Lal Committed by Claude Paroz
Browse files

[1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing

Backport of 8f621b83 from master.
parent 23984cf9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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::