mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Removed trailing whitespace in docs.
This commit is contained in:
@@ -1416,7 +1416,7 @@ Methods of ``BoundField``
|
||||
|
||||
.. method:: BoundField.render(template_name=None, context=None, renderer=None)
|
||||
|
||||
The render method is called by ``as_field_group``. All arguments are
|
||||
The render method is called by ``as_field_group``. All arguments are
|
||||
optional and default to:
|
||||
|
||||
* ``template_name``: :attr:`.BoundField.template_name`
|
||||
|
||||
@@ -392,7 +392,7 @@ be ignored in favor of the value from the form's initial data.
|
||||
.. attribute:: Field.template_name
|
||||
|
||||
The ``template_name`` argument allows a custom template to be used when the
|
||||
field is rendered with :meth:`~django.forms.BoundField.as_field_group`. By
|
||||
field is rendered with :meth:`~django.forms.BoundField.as_field_group`. By
|
||||
default this value is set to ``"django/forms/field.html"``. Can be changed per
|
||||
field by overriding this attribute or more generally by overriding the default
|
||||
template, see also :ref:`overriding-built-in-field-templates`.
|
||||
|
||||
Reference in New Issue
Block a user