summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorsarahboyce <sarahvboyce95@gmail.com>2023-01-15 19:50:36 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-16 09:31:34 +0100
commit0fbdb9784da915fce5dcc1fe82bac9b4785749e5 (patch)
tree3b617bfc48a32aae381b48be271f4eadeab7777e /docs/ref
parent05bcd5baafc0a5783923e32d2b7e2b7fff7d152a (diff)
Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
Co-authored-by: Christian Bundy <me@christianbundy.com>
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/settings.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index aa8606a08b..315438fee8 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -828,7 +828,9 @@ but for all apps.
Default: ``None``
The alias of the database that this database should mirror during
-testing.
+testing. It depends on transactions and therefore must be used within
+:class:`~django.test.TransactionTestCase` instead of
+:class:`~django.test.TestCase`.
This setting exists to allow for testing of primary/replica
(referred to as master/slave by some databases)