Selaa lähdekoodia

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

Vishal Lal 11 vuotta sitten
vanhempi
commit
8f621b83e9
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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::