1
0
mirror of https://github.com/django/django.git synced 2025-04-05 22:16:41 +00:00

[2.1.x] Refs #29513 -- Linked the testing docs from the multi-db topic guide.

Backport of 2a0116266c4d81bd1cc4e3ea20efe9a7874f481b from master
This commit is contained in:
Mattia Cattarinussi 2018-06-29 01:29:07 +01:00 committed by Tim Graham
parent ddd9272c2e
commit db287e99f6
2 changed files with 7 additions and 0 deletions

View File

@ -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
=======================

View File

@ -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
----------------------