From db2a6b6bfa9881725e70ca579a17e942a97a4df8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 1 Jun 2016 08:01:05 -0400 Subject: [PATCH] Fixed #26695 -- Clarified return value of View.options(). Thanks mmoreaux and DheerendraRathor. --- docs/ref/class-based-views/base.txt | 6 ++++-- 1 file 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`` ================