mirror of
https://github.com/django/django.git
synced 2025-01-12 11:26:23 +00:00
[4.2.x] Fixed typos in docs/ref/forms/renderers.txt.
Backport of 659f6b5bc5
from main
This commit is contained in:
parent
35ffaf77c2
commit
870067e578
@ -224,7 +224,7 @@ Overriding built-in formset templates
|
|||||||
:attr:`.BaseFormSet.template_name`
|
:attr:`.BaseFormSet.template_name`
|
||||||
|
|
||||||
To override formset templates, you must use the :class:`TemplatesSetting`
|
To override formset templates, you must use the :class:`TemplatesSetting`
|
||||||
renderer. Then overriding widget templates works :doc:`the same as
|
renderer. Then overriding formset templates works :doc:`the same as
|
||||||
</howto/overriding-templates>` overriding any other template in your project.
|
</howto/overriding-templates>` overriding any other template in your project.
|
||||||
|
|
||||||
.. _overriding-built-in-form-templates:
|
.. _overriding-built-in-form-templates:
|
||||||
@ -235,7 +235,7 @@ Overriding built-in form templates
|
|||||||
:attr:`.Form.template_name`
|
:attr:`.Form.template_name`
|
||||||
|
|
||||||
To override form templates, you must use the :class:`TemplatesSetting`
|
To override form templates, you must use the :class:`TemplatesSetting`
|
||||||
renderer. Then overriding widget templates works :doc:`the same as
|
renderer. Then overriding form templates works :doc:`the same as
|
||||||
</howto/overriding-templates>` overriding any other template in your project.
|
</howto/overriding-templates>` overriding any other template in your project.
|
||||||
|
|
||||||
.. _overriding-built-in-widget-templates:
|
.. _overriding-built-in-widget-templates:
|
||||||
|
Loading…
Reference in New Issue
Block a user