Opened 10 years ago
Last modified 10 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 )
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 , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
comment:3 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Needs documentation: | set |
| Owner: | changed from to |
| Status: | new → assigned |