diff options
| author | Mattia Cattarinussi <mcattarinussi@gmail.com> | 2018-06-29 01:29:07 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-06-28 20:54:23 -0400 |
| commit | db287e99f6ad0bd8ee48d33ec16d37eb172ba5ee (patch) | |
| tree | 5fcd8c3e064787b1955fdbe18365ef52af019297 | |
| parent | ddd9272c2e323b4e8937774425ee93ebebf8eeba (diff) | |
[2.1.x] Refs #29513 -- Linked the testing docs from the multi-db topic guide.
Backport of 2a0116266c4d81bd1cc4e3ea20efe9a7874f481b from master
| -rw-r--r-- | docs/topics/db/multi-db.txt | 5 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/db/multi-db.txt b/docs/topics/db/multi-db.txt index f857d29010..34320fb4d5 100644 --- a/docs/topics/db/multi-db.txt +++ b/docs/topics/db/multi-db.txt @@ -7,6 +7,11 @@ multiple databases. Most of the rest of Django's documentation assumes you are interacting with a single database. If you want to interact with multiple databases, you'll need to take some additional steps. +.. seealso:: + + See :ref:`testing-multi-db` for information about testing with multiple + databases. + Defining your databases ======================= diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 9b7fc4f7e1..bdab7fd52f 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1107,6 +1107,8 @@ tests can't rely upon the fact that your views will be available at a particular URL. Decorate your test class or test method with ``@override_settings(ROOT_URLCONF=...)`` for URLconf configuration. +.. _testing-multi-db: + Multi-database support ---------------------- |
