mirror of https://github.com/django/django.git
Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
Thanks czambran.
This commit is contained in:
parent
646a2216e9
commit
f10e9af227
|
@ -113,7 +113,8 @@ two databases.
|
||||||
Controlling creation order for test databases
|
Controlling creation order for test databases
|
||||||
---------------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
By default, Django will always create the ``default`` database first.
|
By default, Django will assume all databases depend on the ``default``
|
||||||
|
database and therefore always create the ``default`` database first.
|
||||||
However, no guarantees are made on the creation order of any other
|
However, no guarantees are made on the creation order of any other
|
||||||
databases in your test setup.
|
databases in your test setup.
|
||||||
|
|
||||||
|
@ -129,6 +130,7 @@ can specify the dependencies that exist using the
|
||||||
},
|
},
|
||||||
'diamonds': {
|
'diamonds': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
|
'TEST_DEPENDENCIES': []
|
||||||
},
|
},
|
||||||
'clubs': {
|
'clubs': {
|
||||||
# ... db settings
|
# ... db settings
|
||||||
|
|
Loading…
Reference in New Issue