Explorar o código

Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing

Vishal Lal %!s(int64=11) %!d(string=hai) anos
pai
achega
8f621b83e9
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/ref/contrib/gis/testing.txt

+ 2 - 0
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::