Fixed #20944 -- Removed inaccurate statement about View.dispatch().
This commit is contained in:
parent
ce0e86cf76
commit
bac4d03ce6
|
@ -79,10 +79,6 @@ View
|
||||||
you can override the ``head()`` method. See
|
you can override the ``head()`` method. See
|
||||||
:ref:`supporting-other-http-methods` for an example.
|
: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)
|
.. method:: http_method_not_allowed(request, *args, **kwargs)
|
||||||
|
|
||||||
If the view was called with a HTTP method it doesn't support, this
|
If the view was called with a HTTP method it doesn't support, this
|
||||||
|
|
Loading…
Reference in New Issue