diff options
| author | Tim Graham <timograham@gmail.com> | 2013-05-31 08:18:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-05-31 08:18:29 -0400 |
| commit | f10e9af22759cc287a967bba02c75d2834761f1e (patch) | |
| tree | 65e2a5965d13e7866b005e57539cb8add894673f /docs | |
| parent | 646a2216e97a581314c9a2598d481b9e954f2e47 (diff) | |
Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
Thanks czambran.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index cefb770469..b7f49d2b97 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -113,7 +113,8 @@ two 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 databases in your test setup. @@ -129,6 +130,7 @@ can specify the dependencies that exist using the }, 'diamonds': { # ... db settings + 'TEST_DEPENDENCIES': [] }, 'clubs': { # ... db settings |
