#25822: Create require_HEAD, require_OPTIONS, require_PUT, etc. in
django.views.decorators.http
-----------------------------+--------------------------------------
Reporter: CrazyPython | Owner: nobody
Type: New feature | Status: new
Component: Utilities | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by CrazyPython):
* cc: CrazyPython@… (added)
Old description:
> 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
New description:
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"!
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25822#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.cfb02a46ba5efcda10c760d4b5d7e504%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.