[4.0.x] Fixed #33128 -- Corrected possessive 's usage in FormSet docs.
Backport of 2f14432375
from main
This commit is contained in:
parent
1190a931d5
commit
bc0cc82101
|
@ -795,18 +795,18 @@ Formsets have five attributes and five methods associated with rendering.
|
|||
.. versionadded:: 4.0
|
||||
|
||||
The name of the template used when calling ``__str__`` or :meth:`.render`.
|
||||
This template renders the formsets management forms and then each form in
|
||||
the formset as per the template defined by the
|
||||
forms :attr:`~django.forms.Form.template_name`. This is a proxy of
|
||||
``as_table`` by default.
|
||||
This template renders the formset's management form and then each form in
|
||||
the formset as per the template defined by the form's
|
||||
:attr:`~django.forms.Form.template_name`. This is a proxy of ``as_table``
|
||||
by default.
|
||||
|
||||
.. attribute:: BaseFormSet.template_name_p
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
The name of the template used when calling :meth:`.as_p`. By default this
|
||||
is ``'django/forms/formsets/p.html'``. This template renders the formsets
|
||||
management forms and then each form in the formset as per the forms
|
||||
is ``'django/forms/formsets/p.html'``. This template renders the formset's
|
||||
management form and then each form in the formset as per the form's
|
||||
:meth:`~django.forms.Form.as_p` method.
|
||||
|
||||
.. attribute:: BaseFormSet.template_name_table
|
||||
|
@ -815,16 +815,16 @@ Formsets have five attributes and five methods associated with rendering.
|
|||
|
||||
The name of the template used when calling :meth:`.as_table`. By default
|
||||
this is ``'django/forms/formsets/table.html'``. This template renders the
|
||||
formsets management forms and then each form in the formset as per the
|
||||
forms :meth:`~django.forms.Form.as_table` method.
|
||||
formset's management form and then each form in the formset as per the
|
||||
form's :meth:`~django.forms.Form.as_table` method.
|
||||
|
||||
.. attribute:: BaseFormSet.template_name_ul
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
The name of the template used when calling :meth:`.as_ul`. By default this
|
||||
is ``'django/forms/formsets/ul.html'``. This template renders the formsets
|
||||
management forms and then each form in the formset as per the forms
|
||||
is ``'django/forms/formsets/ul.html'``. This template renders the formset's
|
||||
management form and then each form in the formset as per the form's
|
||||
:meth:`~django.forms.Form.as_ul` method.
|
||||
|
||||
.. method:: BaseFormSet.get_context()
|
||||
|
|
Loading…
Reference in New Issue