[4.0.x] Fixed #33128 -- Corrected possessive 's usage in FormSet docs.

Backport of 2f14432375 from main
This commit is contained in:
Joel Farthing 2021-09-21 21:12:26 -06:00 committed by Carlton Gibson
parent 1190a931d5
commit bc0cc82101
1 changed files with 10 additions and 10 deletions

View File

@ -795,18 +795,18 @@ Formsets have five attributes and five methods associated with rendering.
.. versionadded:: 4.0 .. versionadded:: 4.0
The name of the template used when calling ``__str__`` or :meth:`.render`. The name of the template used when calling ``__str__`` or :meth:`.render`.
This template renders the formsets management forms and then each form in This template renders the formset's management form and then each form in
the formset as per the template defined by the the formset as per the template defined by the form's
forms :attr:`~django.forms.Form.template_name`. This is a proxy of :attr:`~django.forms.Form.template_name`. This is a proxy of ``as_table``
``as_table`` by default. by default.
.. attribute:: BaseFormSet.template_name_p .. attribute:: BaseFormSet.template_name_p
.. versionadded:: 4.0 .. versionadded:: 4.0
The name of the template used when calling :meth:`.as_p`. By default this 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 is ``'django/forms/formsets/p.html'``. This template renders the formset's
management forms and then each form in the formset as per the forms management form and then each form in the formset as per the form's
:meth:`~django.forms.Form.as_p` method. :meth:`~django.forms.Form.as_p` method.
.. attribute:: BaseFormSet.template_name_table .. 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 The name of the template used when calling :meth:`.as_table`. By default
this is ``'django/forms/formsets/table.html'``. This template renders the this is ``'django/forms/formsets/table.html'``. This template renders the
formsets management forms and then each form in the formset as per the formset's management form and then each form in the formset as per the
forms :meth:`~django.forms.Form.as_table` method. form's :meth:`~django.forms.Form.as_table` method.
.. attribute:: BaseFormSet.template_name_ul .. attribute:: BaseFormSet.template_name_ul
.. versionadded:: 4.0 .. versionadded:: 4.0
The name of the template used when calling :meth:`.as_ul`. By default this 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 is ``'django/forms/formsets/ul.html'``. This template renders the formset's
management forms and then each form in the formset as per the forms management form and then each form in the formset as per the form's
:meth:`~django.forms.Form.as_ul` method. :meth:`~django.forms.Form.as_ul` method.
.. method:: BaseFormSet.get_context() .. method:: BaseFormSet.get_context()