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:20:10 -0400 |
| commit | f7fefb361d044cac897bff86531281b2e2ead83e (patch) | |
| tree | 8d40720476d25c77afbf5f8143954f27bd67ff8a | |
| parent | 1c5cccedb46497daf90ff6e8e53d33680efa3b85 (diff) | |
[1.5.x] Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
Thanks czambran.
Backport of f10e9af227 from master
| -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 50cf25b4b4..acbbd67d0c 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 |
