Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#703 closed enhancement (fixed)

Decorators to restrict views based on REQUEST_METHOD would be great.

Reported by: cygnus@… Owned by: Jacob
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Sometimes it's great to restrict whether views run based on the REQUEST_METHOD of the request being processed. If code expects to read from request.POST, the request method should be enforceable.

Attachments (1)

request_method_decorators.diff (1.3 KB ) - added by cygnus@… 19 years ago.
Patch to implement decorators to restrict request method for views.

Download all attachments as: .zip

Change History (3)

by cygnus@…, 19 years ago

Patch to implement decorators to restrict request method for views.

comment:1 by Jacob, 19 years ago

Owner: changed from Adrian Holovaty to Jacob
Status: newassigned

comment:2 by Jacob, 19 years ago

Resolution: fixed
Status: assignedclosed

(In [1016]) Fixed #703: added decorators to require that view be called with a given HTTP REQUEST_METHOD

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