Fixed #15887 - Added clarification for required_*() decorators; thanks RoySmith for the sugggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2011-05-01 20:08:55 +00:00
parent 0b1a061881
commit 5487ec8039
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ Allowed HTTP methods
==================== ====================
The decorators in :mod:`django.views.decorators.http` can be used to restrict The decorators in :mod:`django.views.decorators.http` can be used to restrict
access to views based on the request method. access to views based on the request method. These decorators will return
a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met.
.. function:: require_http_methods(request_method_list) .. function:: require_http_methods(request_method_list)