#33128: Grammar Issue -------------------------------------+------------------------------------- Reporter: Matthew Pava | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Documentation | Version: 4.0 Severity: Release blocker | Resolution: Keywords: grammar issue | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Description changed by Matthew Pava:
Old 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 > forms'''. (the possessive case) > > BaseFormSet.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. New 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 forms'". (the possessive case) BaseFormSet.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. -- -- Ticket URL: <https://code.djangoproject.com/ticket/33128#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.f5076f87eb1340b99fa752db4528a3cb%40djangoproject.com.