Opened 9 years ago

Closed 9 years ago

#5221 closed (fixed)

typo in testing documentation

Reported by: derelm Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

http://www.djangoproject.com/documentation/testing/#making-requests

in the example for usage of post()

>>> c.get('/login/', {'name': 'fred', 'passwd': 'secret'})

that should obviously be:

>>> c.post('/login/', {'name': 'fred', 'passwd': 'secret'})

Change History (1)

comment:1 Changed 9 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [5989]) Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm

Note: See TracTickets for help on using tickets.
Back to Top