Opened 9 years ago

Last modified 9 years ago

#25822 closed New feature

Create require_HEAD, require_OPTIONS, require_PUT, etc. in django.views.decorators.http — at Version 1

Reported by: James Owned by: nobody
Component: Utilities Version: 1.8
Severity: Normal Keywords:
Cc: CrazyPython@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by James)

In django.views.decorators.http, require_GET and require_POST shortcuts exist, however none exist for the other HTTP methods. A list can be found here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

My Pull Request on GitHub here: https://github.com/django/django/pull/5731

Change History (1)

comment:1 by James, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top