From 157d7f1f1de4705daddebb77f21bd7097a74513d Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Tue, 22 Mar 2016 14:23:22 +0200 Subject: Fixed #25388 -- Added an option to allow disabling of migrations during test database creation --- docs/ref/settings.txt | 11 +++++++++++ docs/releases/1.10.txt | 3 +++ 2 files changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 05276abae8..7ac9d737fd 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -710,6 +710,17 @@ The creation-order dependencies of the database. See the documentation on :ref:`controlling the creation order of test databases ` for details. +.. setting:: TEST_MIGRATE + +``MIGRATE`` +^^^^^^^^^^^ + +.. versionadded:: 1.10 + +Default: ``True`` + +If set to ``False``, Django won't use migrations to create the test database. + .. setting:: TEST_MIRROR ``MIRROR`` diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index f612f22754..d9bacc7ede 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -394,6 +394,9 @@ Tests and run selectively with the new :option:`test --tag` and :option:`test --exclude-tag` options. +* Added the :setting:`DATABASES['TEST']['MIGRATE'] ` option to + allow disabling of migrations during test database creation. + URLs ~~~~ -- cgit v1.3