Browse Source

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

Thanks mmoreaux and DheerendraRathor.
Tim Graham 8 years ago
parent
commit
db2a6b6bfa
1 changed files with 4 additions and 2 deletions
  1. 4 2
      docs/ref/class-based-views/base.txt

+ 4 - 2
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``
 ================