mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation
This commit is contained in:
parent
1243fdf5cb
commit
157d7f1f1d
6 changed files with 38 additions and 5 deletions
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue