Opened 3 years ago

Last modified 3 years ago

#33128 closed Cleanup/optimization

Grammar Issue — at Initial Version

Reported by: Matthew Pava Owned by: nobody
Component: Documentation Version: 4.0
Severity: Normal Keywords: grammar issue
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

https://docs.djangoproject.com/en/dev/topics/forms/formsets/#formset-rendering

For Django 4.0, you have the following documentation. In each paragraph, the phrase "as per the forms" needs to be changed to "as per the form's".

aseFormSet.template_name
New in Django 4.0.
The name of the template used when calling str or render(). This template renders the formsets management forms and then each form in the formset as per the template defined by the forms template_name. This is a proxy of as_table by default.

BaseFormSet.template_name_p
New in Django 4.0.
The name of the template used when calling 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 as_p() method.

BaseFormSet.template_name_table
New in Django 4.0.
The name of the template used when calling 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 as_table() method.

BaseFormSet.template_name_ul
New in Django 4.0.
The name of the template used when calling 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 as_ul() method.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top