mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +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
|
@ -46,8 +46,8 @@ Optional arguments
|
|||
view will call it just before rendering the template.
|
||||
|
||||
``content_type``
|
||||
The MIME type to use for the resulting document. Defaults to the value of
|
||||
the :setting:`DEFAULT_CONTENT_TYPE` setting.
|
||||
The MIME type to use for the resulting document. Defaults to
|
||||
``'text/html'``.
|
||||
|
||||
``status``
|
||||
The status code for the response. Defaults to ``200``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue