summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-07 11:57:46 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-10 12:01:00 +0200
commitb61ea56789a5825bd2961a335cb82f65e09f1614 (patch)
tree96540b71c4380dd930b63cd08d19c59b6b50fdfa /docs/releases
parentf1894bae3071da4ee577fc40ae61491f3e03d82c (diff)
Refs #28478 -- Removed support for TestCase's allow_database_queries and multi_db per deprecation timeline.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.9.txt5
-rw-r--r--docs/releases/2.2.txt4
-rw-r--r--docs/releases/3.1.txt3
3 files changed, 7 insertions, 5 deletions
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt
index ce39f4fa3e..2fdf361af1 100644
--- a/docs/releases/1.9.txt
+++ b/docs/releases/1.9.txt
@@ -1091,9 +1091,8 @@ Miscellaneous
* In order to enforce test isolation, database queries are not allowed
by default in :class:`~django.test.SimpleTestCase` tests anymore. You
- can disable this behavior by setting the
- :attr:`~django.test.SimpleTestCase.allow_database_queries` class attribute
- to ``True`` on your test class.
+ can disable this behavior by setting the ``allow_database_queries`` class
+ attribute to ``True`` on your test class.
* ``ResolverMatch.app_name`` was changed to contain the full namespace path in
the case of nested namespaces. For consistency with
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt
index 2639aa886a..3fb1f134fb 100644
--- a/docs/releases/2.2.txt
+++ b/docs/releases/2.2.txt
@@ -508,8 +508,8 @@ Miscellaneous
first positional argument, if it accepts it. Support for overrides that don't
accept it will be removed in Django 3.1.
-* The :attr:`.SimpleTestCase.allow_database_queries`,
- :attr:`.TransactionTestCase.multi_db`, and :attr:`.TestCase.multi_db`
+* The ``SimpleTestCase.allow_database_queries``,
+ ``TransactionTestCase.multi_db``, and ``TestCase.multi_db``
attributes are deprecated in favor of :attr:`.SimpleTestCase.databases`,
:attr:`.TransactionTestCase.databases`, and :attr:`.TestCase.databases`.
These new attributes allow databases dependencies to be declared in order to
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index d90a784fd9..3f7e7f261b 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -240,3 +240,6 @@ to remove usage of these features.
* The ``FILE_CHARSET`` setting is removed.
* ``django.contrib.staticfiles.storage.CachedStaticFilesStorage`` is removed.
+
+* Support for ``SimpleTestCase.allow_database_queries`` and
+ ``TransactionTestCase.multi_db`` is removed.