From 77caeaea888d1744416b213036ff29699758de76 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 23 Sep 2020 10:54:04 +0200 Subject: Fixed #32012 -- Made test database creation sync apps models when migrations are disabled. Thanks Jaap Roes for the report. --- docs/ref/settings.txt | 2 ++ docs/releases/3.1.2.txt | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'docs') 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 database + setting (:ticket:`32012`). -- cgit v1.3