Fixed #32446 -- Deprecated SERIALIZE test database setting.

Whether or not the state of a test database should be serialized can be
inferred from the set of databases allowed to be access from discovered
TestCase/TransactionTestCase enabling the serialized_rollback feature
which makes this setting unnecessary.

This should make a significant test suite bootstraping time difference
on large projects that didn't explicitly disable test database
serialization.
This commit is contained in:
Simon Charette 2021-02-14 22:42:47 -05:00 committed by Mariusz Felisiak
parent af685b5f00
commit 3089018e95
9 changed files with 103 additions and 20 deletions

View file

@ -15,6 +15,8 @@ about each item can often be found in the release notes of two versions prior.
See the :ref:`Django 4.0 release notes <deprecated-features-4.0>` for more
details on these changes.
* The ``SERIALIZE`` test setting will be removed.
.. _deprecation-removed-in-4.1:
4.1