Skip to content

Commit

Permalink
[1.9.x] Fixed #26695 -- Clarified return value of View.options().
Browse files Browse the repository at this point in the history
Thanks mmoreaux and DheerendraRathor.

Backport of db2a6b6 from master
  • Loading branch information
timgraham committed Jun 1, 2016
1 parent 25e0273 commit 84698b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/ref/class-based-views/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,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``
================
Expand Down

0 comments on commit 84698b8

Please sign in to comment.