Opened 10 years ago

Closed 10 years ago

#9056 closed (fixed)

POST should be method

Reported by: Andriy Drozdyuk Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


In the example code of the Using a model formset in a view where it says:

if request.POST == 'POST':

should really be:

if request.method == 'POST':

Here is the link to the place in the doc:

Change History (1)

comment:1 Changed 10 years ago by Brian Rosner

Resolution: fixed
Status: newclosed

(In [9015]) Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. Thanks drozzy for catching this.

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