[1.6.x] Fixed #20944 -- Removed inaccurate statement about View.dispatch().
Backport of bac4d03ce6
from master
This commit is contained in:
parent
26a4c83598
commit
8d02c378ab
|
@ -79,10 +79,6 @@ View
|
|||
you can override the ``head()`` method. See
|
||||
:ref:`supporting-other-http-methods` for an example.
|
||||
|
||||
The default implementation also sets ``request``, ``args`` and
|
||||
``kwargs`` as instance variables, so any method on the view can know
|
||||
the full details of the request that was made to invoke the view.
|
||||
|
||||
.. method:: http_method_not_allowed(request, *args, **kwargs)
|
||||
|
||||
If the view was called with a HTTP method it doesn't support, this
|
||||
|
|
Loading…
Reference in New Issue