1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #27829 -- Deprecated settings.DEFAULT_CONTENT_TYPE.

This commit is contained in:
Tim Graham
2017-02-16 07:59:44 -05:00
committed by GitHub
parent b008f7cc56
commit 80493b0871
6 changed files with 62 additions and 17 deletions

View File

@@ -301,6 +301,10 @@ Miscellaneous
:func:`django.shortcuts.render`. ``render()`` takes the same arguments
except that is also requires a ``request``.
* The ``DEFAULT_CONTENT_TYPE`` setting is deprecated. It doesn't interact well
well with third-party apps and is obsolete since HTML5 has mostly superseded
XHTML.
.. _removed-features-2.0:
Features removed in 2.0