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
This commit is contained in:
parent
073412b411
commit
4a4d7bc27d
|
@ -761,7 +761,7 @@ arguments at time of construction:
|
||||||
parameters will be made available in the request.GET data. For example,
|
parameters will be made available in the request.GET data. For example,
|
||||||
if you were to make the request::
|
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
|
... the view handling this request could interrogate request.POST
|
||||||
to retrieve the username and password, and could interrogate request.GET
|
to retrieve the username and password, and could interrogate request.GET
|
||||||
|
|
Loading…
Reference in New Issue