瀏覽代碼

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

Vishal Lal 11 年之前
父節點
當前提交
8f621b83e9
共有 1 個文件被更改,包括 2 次插入0 次删除
  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::