Commit 84698b89 authored by Tim Graham's avatar Tim Graham
Browse files

[1.9.x] Fixed #26695 -- Clarified return value of View.options().

Thanks mmoreaux and DheerendraRathor.

Backport of db2a6b6b from master
parent 25e0273a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -95,7 +95,9 @@ 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.
        response with the ``Allow`` header containing a list of the view's
        allowed HTTP method names.


``TemplateView``
================