Ticket #14771: vistor_typo.patch

File vistor_typo.patch, 656 bytes (added by christian_oudard, 13 years ago)
  • docs/topics/testing.txt

    diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
    index bd727ee..99b11f1 100644
    a b arguments at time of construction:  
    687687        parameters will be made available in the request.GET data. For example,
    688688        if you were to make the request::
    689689
    690         >>> c.post('/login/?vistor=true', {'name': 'fred', 'passwd': 'secret'})
     690        >>> c.post('/login/?visitor=true', {'name': 'fred', 'passwd': 'secret'})
    691691
    692692        ... the view handling this request could interrogate request.POST
    693693        to retrieve the username and password, and could interrogate request.GET
Back to Top