Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected incomplete and incorrect docs from r14822.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d53fd71acb7a6bcce376152a794a533364655bf4 1 parent b11c21d
@freakboy3742 freakboy3742 authored
Showing with 19 additions and 7 deletions.
  1. +12 −0 docs/ref/settings.txt
  2. +7 −7 docs/topics/testing.txt
View
12 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
View
14 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']
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.