diff options
| author | David Smith <39445562+smithdc1@users.noreply.github.com> | 2021-02-12 08:20:30 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-12 09:21:42 +0100 |
| commit | 921ffcbb03b82fecfbc993ebe6c5ad1a81d9d598 (patch) | |
| tree | 569fa62d517221149cb441e683b19a57de7f78ce /docs | |
| parent | b1416cbc8bdb066125d3f499ea52dd17a5c52bab (diff) | |
[3.1.x] Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt.
Backport of e412b288455dd3ea6f1d65c8ec5d01751e489976 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing/tools.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index a37c37d8f2..236a66fd76 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -112,12 +112,12 @@ Use the ``django.test.Client`` class to make requests. .. class:: Client(enforce_csrf_checks=False, json_encoder=DjangoJSONEncoder, **defaults) It requires no arguments at time of construction. However, you can use - keywords arguments to specify some default headers. For example, this will + keyword arguments to specify some default headers. For example, this will send a ``User-Agent`` HTTP header in each request:: >>> c = Client(HTTP_USER_AGENT='Mozilla/5.0') - The values from the ``extra`` keywords arguments passed to + The values from the ``extra`` keyword arguments passed to :meth:`~django.test.Client.get()`, :meth:`~django.test.Client.post()`, etc. have precedence over the defaults passed to the class constructor. |
