summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-23 10:54:04 +0200
committerGitHub <noreply@github.com>2020-09-23 10:54:04 +0200
commit77caeaea888d1744416b213036ff29699758de76 (patch)
tree669ced25575fdf35376924e70d26df3b10734ebd /docs
parent7b9596b974fb0ad1868b10c8c2174e10b72be403 (diff)
Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
Thanks Jaap Roes for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt2
-rw-r--r--docs/releases/3.1.2.txt4
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 506267a028..429df374ad 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -792,6 +792,8 @@ on :ref:`controlling the creation order of test databases
Default: ``True``
When set to ``False``, migrations won't run when creating the test database.
+This is similar to setting ``None`` as a value in :setting:`MIGRATION_MODULES`,
+but for all apps.
.. setting:: TEST_MIRROR
diff --git a/docs/releases/3.1.2.txt b/docs/releases/3.1.2.txt
index fa820c78ee..90ce6af97f 100644
--- a/docs/releases/3.1.2.txt
+++ b/docs/releases/3.1.2.txt
@@ -19,3 +19,7 @@ Bugfixes
* Fixed a regression in Django 3.1 where a queryset would crash if it contained
an aggregation and a ``Q`` object annotation (:ticket:`32007`).
+
+* Fixed a bug in Django 3.1 where a test database was not synced during
+ creation when using the :setting:`MIGRATE <TEST_MIGRATE>` test database
+ setting (:ticket:`32012`).