1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #26695 -- Clarified return value of View.options().

Thanks mmoreaux and DheerendraRathor.
This commit is contained in:
Tim Graham 2016-06-01 08:01:05 -04:00
parent bc84278615
commit db2a6b6bfa

View File

@ -97,8 +97,10 @@ MRO is an acronym for Method Resolution Order.
.. method:: options(request, *args, **kwargs)
Handles responding to requests for the OPTIONS HTTP verb. Returns a
list of the allowed HTTP method names for the view.
Handles responding to requests for the OPTIONS HTTP verb. Returns a
response with the ``Allow`` header containing a list of the view's
allowed HTTP method names.
``TemplateView``
================