Kaydet (Commit) 2a011626 authored tarafından Mattia Cattarinussi's avatar Mattia Cattarinussi Kaydeden (comit) Tim Graham

Refs #29513 -- Linked the testing docs from the multi-db topic guide.

üst 2d6776ff
...@@ -7,6 +7,11 @@ multiple databases. Most of the rest of Django's documentation assumes ...@@ -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 you are interacting with a single database. If you want to interact
with multiple databases, you'll need to take some additional steps. 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 Defining your databases
======================= =======================
......
...@@ -1108,6 +1108,8 @@ tests can't rely upon the fact that your views will be available at a ...@@ -1108,6 +1108,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 particular URL. Decorate your test class or test method with
``@override_settings(ROOT_URLCONF=...)`` for URLconf configuration. ``@override_settings(ROOT_URLCONF=...)`` for URLconf configuration.
.. _testing-multi-db:
Multi-database support Multi-database support
---------------------- ----------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment