diff options
| author | I am Clinton <garwoodpr@users.noreply.github.com> | 2015-05-24 08:30:51 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-05-25 07:38:08 -0400 |
| commit | 0b0bb6100d90d387d7f38e87a4051a1ef513b7c7 (patch) | |
| tree | b95b72fb9d88e289c89c2a0ac2ed93ba91b756ba /docs | |
| parent | 6128005d90790be0511425d10ccf812398b42f1a (diff) | |
Fixed typos in HTTP decorator docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/decorators.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt index a310576fd5..8bbb97c3d5 100644 --- a/docs/topics/http/decorators.txt +++ b/docs/topics/http/decorators.txt @@ -16,7 +16,7 @@ a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met. .. function:: require_http_methods(request_method_list) - Decorator to require that a view only accept particular request + Decorator to require that a view only accepts particular request methods. Usage:: from django.views.decorators.http import require_http_methods @@ -31,15 +31,15 @@ a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met. .. function:: require_GET() - Decorator to require that a view only accept the GET method. + Decorator to require that a view only accepts the GET method. .. function:: require_POST() - Decorator to require that a view only accept the POST method. + Decorator to require that a view only accepts the POST method. .. function:: require_safe() - Decorator to require that a view only accept the GET and HEAD methods. + Decorator to require that a view only accepts the GET and HEAD methods. These methods are commonly considered "safe" because they should not have the significance of taking an action other than retrieving the requested resource. |
