Ticket #15887: fix_15887.2.diff

File fix_15887.2.diff, 608 bytes (added by Mathieu Agopian <mathieu.agopian@…>, 4 years ago)

fixed typo

  • docs/topics/http/decorators.txt

    diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
    index 09ffecb..a7a9fba 100644
    a b Allowed HTTP methods 
    1111====================
    1212
    1313The following decorators in :mod:`django.views.decorators.http` can be used to
    14 restrict access to views based on the request method.
     14restrict access to views based on the request method. These decorators will return
     15a :class:`django.http.HttpResponseNotAllowed` if the conditions are not met.
     16
    1517
    1618.. function:: require_http_methods(request_method_list)
    1719
Back to Top