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 2

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

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 (2)

comment:1 by James, 9 years ago

Description: modified (diff)

comment:2 by James, 9 years ago

Cc: CrazyPython@… added
Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top