Improved release notes wording for template-based form rendering.

This commit is contained in:
Nick Pope 2021-12-07 11:33:46 +00:00 committed by Mariusz Felisiak
parent 063cf98d3a
commit dfdf1c6864
1 changed files with 3 additions and 4 deletions

View File

@ -118,10 +118,9 @@ in Django <redis>`.
Template based form rendering Template based form rendering
----------------------------- -----------------------------
To enhance customization of :class:`Forms <django.forms.Form>`, :class:`Forms <django.forms.Form>`, :doc:`Formsets </topics/forms/formsets>`,
:doc:`Formsets </topics/forms/formsets>`, and and :class:`~django.forms.ErrorList` are now rendered using the template engine
:class:`~django.forms.ErrorList` they are now rendered using the template to enhance customization. See the new :meth:`~django.forms.Form.render`,
engine. See the new :meth:`~django.forms.Form.render`,
:meth:`~django.forms.Form.get_context`, and :meth:`~django.forms.Form.get_context`, and
:attr:`~django.forms.Form.template_name` for ``Form`` and :attr:`~django.forms.Form.template_name` for ``Form`` and
:ref:`formset rendering <formset-rendering>` for ``Formset``. :ref:`formset rendering <formset-rendering>` for ``Formset``.