summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-05-01 20:08:55 +0000
committerTimo Graham <timograham@gmail.com>2011-05-01 20:08:55 +0000
commit5487ec803937cbb3e6b979883c69ef1eead1403d (patch)
tree05f6b985f54abb9f7098f8d884e9583e8cdde3a1
parent0b1a061881ff49b0d56c48e026da421a68318a89 (diff)
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
-rw-r--r--docs/topics/http/decorators.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
index 1a5c7776b5..83d14a0777 100644
--- a/docs/topics/http/decorators.txt
+++ b/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)