#25822: Create require_HEAD, require_OPTIONS, require_PUT, etc. in
django.views.decorators.http
-----------------------------+---------------------------------------
Reporter: CrazyPython | Owner: CrazyPython
Type: New feature | Status: assigned
Component: Utilities | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------+---------------------------------------
Changes (by CrazyPython):
* status: new => assigned
* needs_docs: 0 => 1
* owner: nobody => CrazyPython
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
>
> 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"!
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
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"!
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25822#comment:3>
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.ae50dc3b007bdb2e37f103d81583c19d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.