summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/testing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index bbb3e2b907..f597c90fdf 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -727,7 +727,7 @@ arguments at time of construction:
parameters will be made available in the request.GET data. For example,
if you were to make the request::
- >>> c.post('/login/?vistor=true', {'name': 'fred', 'passwd': 'secret'})
+ >>> c.post('/login/?visitor=true', {'name': 'fred', 'passwd': 'secret'})
... the view handling this request could interrogate request.POST
to retrieve the username and password, and could interrogate request.GET