diff options
| author | Tim Graham <timograham@gmail.com> | 2016-06-01 08:01:05 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-01 08:29:34 -0400 |
| commit | 84698b89c8f54634c03c819c73ec7420468e6263 (patch) | |
| tree | 89e81640086a807a30e2396c7b53b06004909916 /docs/ref | |
| parent | 25e0273a05564e1ce3bd97ab83a5ebd907970273 (diff) | |
[1.9.x] Fixed #26695 -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor.
Backport of db2a6b6bfa9881725e70ca579a17e942a97a4df8 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/class-based-views/base.txt | 6 |
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 542d863db0..00af15380f 100644 --- a/docs/ref/class-based-views/base.txt +++ b/docs/ref/class-based-views/base.txt @@ -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`` ================ |
