From bad894d5b82d91eb1d0c45bbd6efc9e34413dcd0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 1 Jun 2016 08:01:05 -0400 Subject: [PATCH] [1.10.x] Fixed #26695 -- Clarified return value of View.options(). Thanks mmoreaux and DheerendraRathor. Backport of db2a6b6bfa9881725e70ca579a17e942a97a4df8 from master --- 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 d22d63cd6f..abc3767e7f 100644 --- a/docs/ref/class-based-views/base.txt +++ b/docs/ref/class-based-views/base.txt @@ -99,8 +99,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`` ================