mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.
This commit is contained in:
parent
573ec714e5
commit
8045dff98c
11 changed files with 16 additions and 114 deletions
|
@ -748,7 +748,7 @@ Methods
|
|||
|
||||
``content_type`` is the MIME type optionally completed by a character set
|
||||
encoding and is used to fill the HTTP ``Content-Type`` header. If not
|
||||
specified, it is formed by the :setting:`DEFAULT_CONTENT_TYPE` and
|
||||
specified, it is formed by ``'text/html'`` and the
|
||||
:setting:`DEFAULT_CHARSET` settings, by default: "`text/html; charset=utf-8`".
|
||||
|
||||
``status`` is the :rfc:`HTTP status code <7231#section-6>` for the response.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue