Fixed #25388 -- Added an option to allow disabling of migrations during test database creation

This commit is contained in:
Berker Peksag 2016-03-22 14:23:22 +02:00 committed by Markus Holtermann
parent 1243fdf5cb
commit 157d7f1f1d
6 changed files with 38 additions and 5 deletions

View file

@ -710,6 +710,17 @@ The creation-order dependencies of the database. See the documentation
on :ref:`controlling the creation order of test databases
<topics-testing-creation-dependencies>` 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``