summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/settings.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index dd65e451c2..a3f6f421dd 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -777,6 +777,11 @@ the database state between tests if you don't have transactions). You can set
this to ``False`` to speed up creation time if you don't have any test classes
with :ref:`serialized_rollback=True <test-case-serialized-rollback>`.
+Don't set this to ``False`` if you want to use :option:`test --keepdb`
+and your test suite contains :class:`~django.test.TransactionTestCase` or
+doesn't support transactions, as this in-memory JSON string is used to restore
+the initial data migrations in these situations.
+
.. setting:: TEST_TEMPLATE
``TEMPLATE``