summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorJoseph Victor Zammit <jvzammit@gmail.com>2023-01-23 21:29:05 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-28 12:21:37 +0100
commitba755ca13123d2691a0926ddb64e5d0a2906a880 (patch)
tree283bacaa7d29dc42466000ef18ece04e854d50a4 /docs/topics/testing
parentc67ea79aa981ae82595d89f8018a41fcd842e7c9 (diff)
downloaddjango-ba755ca13123d2691a0926ddb64e5d0a2906a880.tar.gz
Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/tools.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 85652095a8..703710082a 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -248,7 +248,9 @@ Use the ``django.test.Client`` class to make requests.
>>> c = Client()
>>> c.post('/login/', {'name': 'fred', 'passwd': 'secret'})
- ...will result in the evaluation of a POST request to this URL::
+ ...will result in the evaluation of a POST request to this URL:
+
+ .. code-block:: text
/login/