Ticket #15887: fix_15887.3.diff

File fix_15887.3.diff, 587 bytes (added by dmclain, 4 years ago)
  • docs/topics/http/decorators.txt

    diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
    index 1a5c777..83d14a0 100644
    a b Allowed HTTP methods 
    1111====================
    1212
    1313The decorators in :mod:`django.views.decorators.http` can be used to restrict
    14 access to views based on the request method.
     14access to views based on the request method. These decorators will return
     15a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met.
    1516
    1617.. function:: require_http_methods(request_method_list)
    1718
Back to Top