mirror of
https://github.com/django/django.git
synced 2025-04-15 04:44:37 +00:00
[1.10.x] Fixed #26695 -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor. Backport of db2a6b6bfa9881725e70ca579a17e942a97a4df8 from master
This commit is contained in:
parent
58f0d40b6d
commit
bad894d5b8
@ -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``
|
||||
================
|
||||
|
Loading…
x
Reference in New Issue
Block a user