Permalink
Browse files

[1.2.X] Fixed #14771 -- corrected a typo in the testing docs. Thanks …

…to Christian Oudard for the patch. Backport of [14694].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent cb9cb65 commit 73ff0f1287dedb64fd539612ac18f11e142460a3 @alex alex committed Nov 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 73ff0f1

Please sign in to comment.