mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +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:
parent
c067a2b68f
commit
6aa917383f
13 changed files with 22 additions and 18 deletions
|
@ -653,7 +653,7 @@ same behavior -- except for the format of the response.
|
|||
If you want to be really adventurous, you could even mix a
|
||||
:class:`~django.views.generic.detail.DetailView` subclass that is able
|
||||
to return *both* HTML and JSON content, depending on some property of
|
||||
the HTTP request, such as a query argument or a HTTP header. Mix in both the
|
||||
the HTTP request, such as a query argument or an HTTP header. Mix in both the
|
||||
``JSONResponseMixin`` and a
|
||||
:class:`~django.views.generic.detail.SingleObjectTemplateResponseMixin`,
|
||||
and override the implementation of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue