mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation.
This commit is contained in:
parent
3e5b349535
commit
f5ebdfce5c
6 changed files with 70 additions and 18 deletions
|
|
@ -1371,8 +1371,9 @@ Preserves the test database between test runs. This has the advantage of
|
|||
skipping both the create and destroy actions which can greatly decrease the
|
||||
time to run tests, especially those in a large test suite. If the test database
|
||||
does not exist, it will be created on the first run and then preserved for each
|
||||
subsequent run. Any unapplied migrations will also be applied to the test
|
||||
database before running the test suite.
|
||||
subsequent run. Unless the :setting:`MIGRATE <TEST_MIGRATE>` test setting is
|
||||
``False``, any unapplied migrations will also be applied to the test database
|
||||
before running the test suite.
|
||||
|
||||
.. django-admin-option:: --reverse, -r
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue