summaryrefslogtreecommitdiff
path: root/docs/ref/class-based-views
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-06-01 08:01:05 -0400
committerTim Graham <timograham@gmail.com>2016-06-01 08:15:50 -0400
commitdb2a6b6bfa9881725e70ca579a17e942a97a4df8 (patch)
treec7a5f6ebcd0cf23e73950b3714c3f1a60190a52e /docs/ref/class-based-views
parentbc842786158bc974a7587002226feabaf5cd2f4a (diff)
Fixed #26695 -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor.
Diffstat (limited to 'docs/ref/class-based-views')
-rw-r--r--docs/ref/class-based-views/base.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt
index 1b46e10910..80904ef76f 100644
--- a/docs/ref/class-based-views/base.txt
+++ b/docs/ref/class-based-views/base.txt
@@ -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``
================