Opened 8 years ago

Closed 8 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:
Needs tests: Patch needs improvement:
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 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

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