summaryrefslogtreecommitdiff
path: root/docs/topics/testing/tools.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-11 09:57:44 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-18 22:12:40 +0200
commit295467c04ab4c26a1a9d3798b1e941003fa116cf (patch)
treeeac57d86bd2c1664b63d17a4325cfffbf720ae44 /docs/topics/testing/tools.txt
parent590a31eb105292510ce94adebc85d691b30f49ca (diff)
Removed versionadded/changed annotations for 4.2.
This also removes remaining versionadded/changed annotations for older versions.
Diffstat (limited to 'docs/topics/testing/tools.txt')
-rw-r--r--docs/topics/testing/tools.txt40
1 files changed, 0 insertions, 40 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index a9373ff108..e9b12d94f0 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -158,10 +158,6 @@ Use the ``django.test.Client`` class to make requests.
Once you have a ``Client`` instance, you can call any of the following
methods:
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.get(path, data=None, follow=False, secure=False, *, headers=None, **extra)
Makes a GET request on the provided ``path`` and returns a ``Response``
@@ -234,10 +230,6 @@ Use the ``django.test.Client`` class to make requests.
If you set ``secure`` to ``True`` the client will emulate an HTTPS
request.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.post(path, data=None, content_type=MULTIPART_CONTENT, follow=False, secure=False, *, headers=None, **extra)
Makes a POST request on the provided ``path`` and returns a
@@ -351,10 +343,6 @@ Use the ``django.test.Client`` class to make requests.
If you set ``secure`` to ``True`` the client will emulate an HTTPS
request.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.head(path, data=None, follow=False, secure=False, *, headers=None, **extra)
Makes a HEAD request on the provided ``path`` and returns a
@@ -362,10 +350,6 @@ Use the ``django.test.Client`` class to make requests.
including the ``follow``, ``secure``, ``headers``, and ``extra``
parameters, except it does not return a message body.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.options(path, data='', content_type='application/octet-stream', follow=False, secure=False, *, headers=None, **extra)
Makes an OPTIONS request on the provided ``path`` and returns a
@@ -377,10 +361,6 @@ Use the ``django.test.Client`` class to make requests.
The ``follow``, ``secure``, ``headers``, and ``extra`` parameters act
the same as for :meth:`Client.get`.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.put(path, data='', content_type='application/octet-stream', follow=False, secure=False, *, headers=None, **extra)
Makes a PUT request on the provided ``path`` and returns a
@@ -392,10 +372,6 @@ Use the ``django.test.Client`` class to make requests.
The ``follow``, ``secure``, ``headers``, and ``extra`` parameters act
the same as for :meth:`Client.get`.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.patch(path, data='', content_type='application/octet-stream', follow=False, secure=False, *, headers=None, **extra)
Makes a PATCH request on the provided ``path`` and returns a
@@ -404,10 +380,6 @@ Use the ``django.test.Client`` class to make requests.
The ``follow``, ``secure``, ``headers``, and ``extra`` parameters act
the same as for :meth:`Client.get`.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.delete(path, data='', content_type='application/octet-stream', follow=False, secure=False, *, headers=None, **extra)
Makes a DELETE request on the provided ``path`` and returns a
@@ -419,10 +391,6 @@ Use the ``django.test.Client`` class to make requests.
The ``follow``, ``secure``, ``headers``, and ``extra`` parameters act
the same as for :meth:`Client.get`.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.trace(path, follow=False, secure=False, *, headers=None, **extra)
Makes a TRACE request on the provided ``path`` and returns a
@@ -435,10 +403,6 @@ Use the ``django.test.Client`` class to make requests.
The ``follow``, ``secure``, ``headers``, and ``extra`` parameters act
the same as for :meth:`Client.get`.
- .. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. method:: Client.login(**credentials)
.. method:: Client.alogin(**credentials)
@@ -2041,10 +2005,6 @@ test client, with the following exceptions:
>>> c = AsyncClient()
>>> c.get("/customers/details/", {"name": "fred", "age": 7}, ACCEPT="application/json")
-.. versionchanged:: 4.2
-
- The ``headers`` parameter was added.
-
.. versionchanged:: 5.0
Support for the ``follow`` parameter was added to the ``AsyncClient``.