diff options
| author | Adam Zapletal <adamzap@gmail.com> | 2024-11-27 10:13:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 13:13:28 -0300 |
| commit | e9ed5da3cb0d037d274e5af42d9f09b70a09ebc2 (patch) | |
| tree | 8c437568a0694f6c69369d8b1c845ad2d138cfb9 /docs/ref | |
| parent | 2544c1585473c1e82dab1274b52052744f97ca72 (diff) | |
Removed trailing whitespace in docs.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 2 | ||||
| -rw-r--r-- | docs/ref/forms/api.txt | 2 | ||||
| -rw-r--r-- | docs/ref/forms/fields.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 6014a4e78f..7b0de1173f 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -679,7 +679,7 @@ The following backends are available in :mod:`django.contrib.auth.backends`: user permissions and group permissions. Returns an empty set if :attr:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or :attr:`~django.contrib.auth.models.CustomUser.is_active` is ``False``. - + .. versionchanged:: 5.2 ``aget_all_permissions()`` function was added. diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 9ce16ff2ab..c6c83dcdfb 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -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` diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 6051122617..2b4b344844 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -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`. |
