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

Refs #32339 -- Deprecated transitional form renderers.

This commit is contained in:
Mariusz Felisiak
2023-01-18 11:08:39 +01:00
committed by GitHub
parent 3bbe22dafc
commit b209518089
6 changed files with 51 additions and 31 deletions

View File

@@ -233,9 +233,9 @@ Forms
* In order to smooth adoption of the new ``<div>`` output style, two
transitional form renderer classes are available:
:class:`django.forms.renderers.DjangoDivFormRenderer` and
:class:`django.forms.renderers.Jinja2DivFormRenderer`, for the Django and
Jinja2 template backends respectively.
``django.forms.renderers.DjangoDivFormRenderer`` and
``django.forms.renderers.Jinja2DivFormRenderer``, for the Django and Jinja2
template backends respectively.
You can apply one of these via the :setting:`FORM_RENDERER` setting. For
example::