1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.

This commit is contained in:
Tim Graham
2018-12-27 19:49:03 -05:00
parent 573ec714e5
commit 8045dff98c
11 changed files with 16 additions and 114 deletions

View File

@@ -76,7 +76,7 @@ Methods
The value included in the HTTP ``Content-Type`` header, including the
MIME type specification and the character set encoding. If
``content_type`` is specified, then its value is used. Otherwise,
:setting:`DEFAULT_CONTENT_TYPE` is used.
``'text/html'`` is used.
``status``
The HTTP status code for the response.
@@ -171,7 +171,7 @@ Methods
The value included in the HTTP ``Content-Type`` header, including the
MIME type specification and the character set encoding. If
``content_type`` is specified, then its value is used. Otherwise,
:setting:`DEFAULT_CONTENT_TYPE` is used.
``'text/html'`` is used.
``status``
The HTTP status code for the response.