summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt12
-rw-r--r--docs/topics/testing.txt14
2 files changed, 19 insertions, 7 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 380fa789a4..207933a72f 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -427,6 +427,18 @@ Only supported for the ``mysql`` backend (see the `MySQL manual`_ for details).
.. _MySQL manual: MySQL_
+.. setting:: TEST_DEPENDENCIES
+
+TEST_DEPENDENCIES
+~~~~~~~~~~~~~~~~~
+
+Default: ``['default']``, for all databases other than ``default``,
+which has no dependencies.
+
+The creation-order dependencies of the database. See the documentation
+on :ref:`controlling the creation order of test databases
+<topics-testing-creation-dependencies>` for details.
+
.. setting:: TEST_MIRROR
TEST_MIRROR
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index e56e577f3b..d1fda1d6a6 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -473,22 +473,22 @@ can specify the dependencies that exist using the
DATABASES = {
'default': {
# ... db settings
- TEST_DEPENDENCIES = ['diamonds']
+ 'TEST_DEPENDENCIES': ['diamonds']
},
'diamonds': {
# ... db settings
- }
+ },
'clubs': {
# ... db settings
- TEST_DEPENDENCIES = ['diamonds']
- }
+ 'TEST_DEPENDENCIES': ['diamonds']
+ },
'spades': {
# ... db settings
- TEST_DEPENDENCIES = ['diamonds','hearts']
- }
+ 'TEST_DEPENDENCIES': ['diamonds','hearts']
+ },
'hearts': {
# ... db settings
- TEST_DEPENDENCIES = ['diamonds','clubs']
+ 'TEST_DEPENDENCIES': ['diamonds','clubs']
}
}