Kaydet (Commit) db2a6b6b authored tarafından Tim Graham's avatar Tim Graham

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

Thanks mmoreaux and DheerendraRathor.
üst bc842786
...@@ -97,8 +97,10 @@ MRO is an acronym for Method Resolution Order. ...@@ -97,8 +97,10 @@ MRO is an acronym for Method Resolution Order.
.. method:: options(request, *args, **kwargs) .. method:: options(request, *args, **kwargs)
Handles responding to requests for the OPTIONS HTTP verb. Returns a Handles responding to requests for the OPTIONS HTTP verb. Returns a
list of the allowed HTTP method names for the view. response with the ``Allow`` header containing a list of the view's
allowed HTTP method names.
``TemplateView`` ``TemplateView``
================ ================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment