#15887: Improve django.views.decorators.http docs
----------------------+------------------------------
Reporter: RoySmith | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Core (Other)
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
----------------------+------------------------------
{{{
require_http_methods()
require_GET()
require_POST()
}}}
None of these describe what happens if you try to access the view with the
wrong method. Throw some exception? Return a 404? Cause daemons to fly
out of your nose? Some additional clarity here would be useful.
--
Ticket URL: <http://code.djangoproject.com/ticket/15887>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.