Skip to content

Commit c56e127

Browse files
Antoliny0919sarahboyce
authored andcommitted
Refs #32339 -- Updated formset docs to reflect default rendering as as_div.
1 parent 8d7b142 commit c56e127

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/topics/forms/formsets.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,11 @@ deal with the management form:
10051005
The above ends up calling the :meth:`BaseFormSet.render` method on the formset
10061006
class. This renders the formset using the template specified by the
10071007
:attr:`~BaseFormSet.template_name` attribute. Similar to forms, by default the
1008-
formset will be rendered ``as_table``, with other helper methods of ``as_p``
1009-
and ``as_ul`` being available. The rendering of the formset can be customized
1010-
by specifying the ``template_name`` attribute, or more generally by
1011-
:ref:`overriding the default template <overriding-built-in-formset-templates>`.
1008+
formset will be rendered ``as_div``, with other helper methods of ``as_p``,
1009+
``as_ul``, and ``as_table`` being available. The rendering of the formset can
1010+
be customized by specifying the ``template_name`` attribute, or more generally
1011+
by :ref:`overriding the default template
1012+
<overriding-built-in-formset-templates>`.
10121013

10131014
.. _manually-rendered-can-delete-and-can-order:
10141015

0 commit comments

Comments
 (0)