diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-23 10:54:04 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-23 10:54:50 +0200 |
| commit | fbb7881956186de0b41c68d63b42f4eb1bbd9750 (patch) | |
| tree | 31a1e40d36b22c08335b5d0ebb0d374e3fe9ec2a /docs | |
| parent | 2c629b37d5d2aad93223f4ea3b7fbfa324841c2b (diff) | |
[3.1.x] Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
Thanks Jaap Roes for the report.
Backport of 77caeaea888d1744416b213036ff29699758de76 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/settings.txt | 2 | ||||
| -rw-r--r-- | docs/releases/3.1.2.txt | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 263c281872..0ad022874b 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -787,6 +787,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`). |
