Code

Ticket #15887: fix_15887.diff

File fix_15887.diff, 607 bytes (added by EnTeQuAk, 3 years ago)
Line 
1diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
2index 09ffecb..a7a9fba 100644
3--- a/docs/topics/http/decorators.txt
4+++ b/docs/topics/http/decorators.txt
5@@ -11,7 +11,9 @@ Allowed HTTP methods
6 ====================
7 
8 The following decorators in :mod:`django.views.decorators.http` can be used to
9-restrict access to views based on the request method.
10+restrict access to views based on the request method. This decorators will return
11+a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met.
12+
13 
14 .. function:: require_http_methods(request_method_list)
15