summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-05-01 20:11:04 +0000
committerTimo Graham <timograham@gmail.com>2011-05-01 20:11:04 +0000
commitfa261ea432c606d58dfcb09dde50fb89b43f8dcb (patch)
treeba4ff6f8395b62585bdc057d0e91012c86e4afcf /docs
parentb44757ce5187fd7019593b838adfd81dfd401b1d (diff)
[1.3.X] Fixed #15887 - Added clarification for required_*() decorators; thanks RoySmith for the sugggestion.
Backport of r16139 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/decorators.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
index 09ffecbdf9..946bcb9009 100644
--- a/docs/topics/http/decorators.txt
+++ b/docs/topics/http/decorators.txt
@@ -10,8 +10,9 @@ various HTTP features.
Allowed HTTP methods
====================
-The following decorators in :mod:`django.views.decorators.http` can be used to
-restrict access to views based on the request method.
+The decorators in :mod:`django.views.decorators.http` can be used to restrict
+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)