Removed settings.TEMPLATES upgrade guide.

This commit is contained in:
Tim Graham 2017-01-17 10:12:56 -05:00
parent 6192bffb13
commit 397b3705c5
4 changed files with 3 additions and 224 deletions

View file

@ -1269,8 +1269,8 @@ to remove usage of these features.
* The backwards compatibility shim to allow ``FormMixin.get_form()`` to be
defined with no default value for its ``form_class`` argument is removed.
* The following settings are removed, and :doc:`you must upgrade
</ref/templates/upgrading>` to the :setting:`TEMPLATES` setting:
* The following settings are removed, and you must upgrade to the
:setting:`TEMPLATES` setting:
* ``ALLOWED_INCLUDE_ROOTS``
* ``TEMPLATE_CONTEXT_PROCESSORS``

View file

@ -61,7 +61,7 @@ built-in support for the Django template language and for
:class:`~django.template.backends.jinja2.Jinja2`. It supports rendering
templates with multiple engines within the same project. Learn more about the
new features in the :doc:`topic guide </topics/templates>` and check the
:doc:`upgrade instructions </ref/templates/upgrading>` for details.
upgrade instructions in older versions of the documentation.
Security enhancements
---------------------
@ -1522,9 +1522,6 @@ Both classes provide a ``render()`` method, however, the former takes a
:class:`dict`. This change is enforced through a deprecation path for Django
templates.
Since it's easier to understand with examples, the :ref:`upgrade guide
<get_template-upgrade-django-18>` shows how to adapt affected code.
All this also applies to :func:`~django.template.loader.select_template()`.
:class:`~django.template.Template` and :class:`~django.template.Context` classes in template responses