diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-06 09:28:25 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-17 11:49:15 +0100 |
| commit | 6c0539ed7c7a1ddeaac3ff91622ebf7a8c8442b9 (patch) | |
| tree | 40efad437c15cf8d500a393993f45824c12edadc /docs | |
| parent | 490cccbe7e83874923b276eed26cc23b0db5ebb9 (diff) | |
Refs #32446 -- Removed SERIALIZE test database setting per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/settings.txt | 17 | ||||
| -rw-r--r-- | docs/releases/1.7.1.txt | 4 | ||||
| -rw-r--r-- | docs/releases/5.0.txt | 2 | ||||
| -rw-r--r-- | docs/topics/testing/advanced.txt | 4 |
4 files changed, 3 insertions, 24 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 7c723a824f..4a1891de4e 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -849,23 +849,6 @@ test database will use the name ``'test_' + DATABASE_NAME``. See :ref:`the-test-database`. -.. setting:: TEST_SERIALIZE - -``SERIALIZE`` -^^^^^^^^^^^^^ - -Boolean value to control whether or not the default test runner serializes the -database into an in-memory JSON string before running tests (used to restore -the database state between tests if you don't have transactions). You can set -this to ``False`` to speed up creation time if you don't have any test classes -with :ref:`serialized_rollback=True <test-case-serialized-rollback>`. - -.. deprecated:: 4.0 - - This setting is deprecated as it can be inferred from the - :attr:`~django.test.TestCase.databases` with the - :ref:`serialized_rollback <test-case-serialized-rollback>` option enabled. - .. setting:: TEST_TEMPLATE ``TEMPLATE`` diff --git a/docs/releases/1.7.1.txt b/docs/releases/1.7.1.txt index 6cf0e9edf4..640dfd3a43 100644 --- a/docs/releases/1.7.1.txt +++ b/docs/releases/1.7.1.txt @@ -71,8 +71,8 @@ Bugfixes * Made ``migrations.RunSQL`` no longer require percent sign escaping. This is now consistent with ``cursor.execute()`` (:ticket:`23426`). -* Made the :setting:`SERIALIZE <TEST_SERIALIZE>` entry in the - :setting:`TEST <DATABASE-TEST>` dictionary usable (:ticket:`23421`). +* Made the ``SERIALIZE`` entry in the :setting:`TEST <DATABASE-TEST>` + dictionary usable (:ticket:`23421`). * Fixed bug in migrations that prevented foreign key constraints to unmanaged models with a custom primary key (:ticket:`23415`). diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index 4b0277d962..f936fc1d77 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -255,7 +255,7 @@ in Django 5.0. See :ref:`deprecated-features-4.0` for details on these changes, including how to remove usage of these features. -* ... +* The ``SERIALIZE`` test setting is removed. See :ref:`deprecated-features-4.1` for details on these changes, including how to remove usage of these features. diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index fafc4e0bbc..4afb36db3d 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -829,10 +829,6 @@ can be useful during testing. ``False`` to speed up creation time if you don't have any test classes with :ref:`serialized_rollback=True <test-case-serialized-rollback>`. - If you are using the default test runner, you can control this with the - the :setting:`SERIALIZE <TEST_SERIALIZE>` entry in the :setting:`TEST - <DATABASE-TEST>` dictionary. - ``keepdb`` determines if the test run should use an existing database, or create a new one. If ``True``, the existing database will be used, or created if not present. If ``False``, |
