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

Refs #32339 -- Removed transitional form renderers per deprecation timeline.

This commit is contained in:
Sarah Boyce
2024-12-12 16:37:17 +01:00
parent b5a6c93a18
commit ba90b76c6e
4 changed files with 4 additions and 81 deletions

View File

@@ -109,12 +109,6 @@ If you want to render templates with customizations from your
:setting:`TEMPLATES` setting, such as context processors for example, use the
:class:`TemplatesSetting` renderer.
.. class:: DjangoDivFormRenderer
.. deprecated:: 5.0
The alias of :class:`DjangoTemplates`.
``Jinja2``
----------
@@ -131,12 +125,6 @@ templates for widgets that don't have any, you can't use this renderer. For
example, :mod:`django.contrib.admin` doesn't include Jinja2 templates for its
widgets due to their usage of Django template tags.
.. class:: Jinja2DivFormRenderer
.. deprecated:: 5.0
The alias of :class:`Jinja2`.
``TemplatesSetting``
--------------------

View File

@@ -257,6 +257,9 @@ to remove usage of these features.
* Support for passing positional arguments to ``BaseConstraint`` is removed.
* The ``DjangoDivFormRenderer`` and ``Jinja2DivFormRenderer`` transitional form
renderers are removed.
See :ref:`deprecated-features-5.1` for details on these changes, including how
to remove usage of these features.