mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
[4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Backport of 69b0736fad from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
c067a2b68f
commit
6aa917383f
@@ -86,7 +86,7 @@ MRO is an acronym for Method Resolution Order.
|
||||
.. method:: dispatch(request, *args, **kwargs)
|
||||
|
||||
The ``view`` part of the view -- the method that accepts a ``request``
|
||||
argument plus arguments, and returns a HTTP response.
|
||||
argument plus arguments, and returns an HTTP response.
|
||||
|
||||
The default implementation will inspect the HTTP method and attempt to
|
||||
delegate to a method that matches the HTTP method; a ``GET`` will be
|
||||
@@ -99,7 +99,7 @@ MRO is an acronym for Method Resolution Order.
|
||||
|
||||
.. 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 an HTTP method it doesn't support, this
|
||||
method is called instead.
|
||||
|
||||
The default implementation returns ``HttpResponseNotAllowed`` with a
|
||||
|
||||
Reference in New Issue
Block a user