Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #15887 - Added clarification for required_*() decorators; thank…

…s RoySmith for the sugggestion.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5487ec803937cbb3e6b979883c69ef1eead1403d 1 parent 0b1a061
@timgraham timgraham authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/topics/http/decorators.txt
3  docs/topics/http/decorators.txt
@@ -11,7 +11,8 @@ Allowed HTTP methods
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)

0 comments on commit 5487ec8

Please sign in to comment.
Something went wrong with that request. Please try again.