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 3

Reported by: James Owned by: James
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

We need documentation, however.

Isn't Open Source just awesome? You want a feature, you add the feature! Then you open fork it on github, open a PR, and BOOM! There you go, all the project creators have to do is click "Merge"!

Change History (3)

comment:1 by James, 9 years ago

Description: modified (diff)

comment:2 by James, 9 years ago

Cc: CrazyPython@… added
Description: modified (diff)

comment:3 by James, 9 years ago

Description: modified (diff)
Needs documentation: set
Owner: changed from nobody to James
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top