mirror of
https://github.com/django/django.git
synced 2025-02-11 09:55:22 +00:00
Corrected incomplete and incorrect docs from r14822.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b11c21d69a
commit
d53fd71acb
@ -427,6 +427,18 @@ Only supported for the ``mysql`` backend (see the `MySQL manual`_ for details).
|
|||||||
|
|
||||||
.. _MySQL manual: MySQL_
|
.. _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
|
.. setting:: TEST_MIRROR
|
||||||
|
|
||||||
TEST_MIRROR
|
TEST_MIRROR
|
||||||
|
@ -473,22 +473,22 @@ can specify the dependencies that exist using the
|
|||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
TEST_DEPENDENCIES = ['diamonds']
|
'TEST_DEPENDENCIES': ['diamonds']
|
||||||
},
|
},
|
||||||
'diamonds': {
|
'diamonds': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
}
|
},
|
||||||
'clubs': {
|
'clubs': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
TEST_DEPENDENCIES = ['diamonds']
|
'TEST_DEPENDENCIES': ['diamonds']
|
||||||
}
|
},
|
||||||
'spades': {
|
'spades': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
TEST_DEPENDENCIES = ['diamonds','hearts']
|
'TEST_DEPENDENCIES': ['diamonds','hearts']
|
||||||
}
|
},
|
||||||
'hearts': {
|
'hearts': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
TEST_DEPENDENCIES = ['diamonds','clubs']
|
'TEST_DEPENDENCIES': ['diamonds','clubs']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user