From 4a4d7bc27deb2219d534986f825f0a4fd7d55027 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 24 Nov 2010 19:51:31 +0000 Subject: [PATCH] Fixed #14771 -- corrected a typo in the testing docs. Thanks to Christian Oudard for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14694 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/testing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 3c5eb59211..64ed824840 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -761,7 +761,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