Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.3.X] Fixed #15887 - Added clarification for required_*() decorator…

…s; 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
  • Loading branch information...
commit fa261ea432c606d58dfcb09dde50fb89b43f8dcb 1 parent b44757c
Tim Graham authored May 01, 2011

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  docs/topics/http/decorators.txt
5  docs/topics/http/decorators.txt
@@ -10,8 +10,9 @@ various HTTP features.
10 10
 Allowed HTTP methods
11 11
 ====================
12 12
 
13  
-The following decorators in :mod:`django.views.decorators.http` can be used to
14  
-restrict access to views based on the request method.
  13
+The decorators in :mod:`django.views.decorators.http` can be used to restrict
  14
+access to views based on the request method. These decorators will return
  15
+a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met.
15 16
 
16 17
 .. function:: require_http_methods(request_method_list)
17 18
 

0 notes on commit fa261ea

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