From 8286d8d48eea88cf753ddb6a92a2ace338924b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= Date: Mon, 30 Sep 2024 07:18:17 +0200 Subject: [PATCH] Minor doc fix --- iommi/form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iommi/form.py b/iommi/form.py index 9d585ca3..209da947 100644 --- a/iommi/form.py +++ b/iommi/form.py @@ -722,7 +722,7 @@ def __init__(self, **kwargs): :param after: Set the order of columns, see the `howto `_ for an example. :param initial: Initial value of the field - :param attr: The attribute path to apply or get the data from. For example using `foo__bar__baz` will result in `your_instance.foo.bar.baz` will be set by the `apply()` function. Defaults to same as name + :param attr: The attribute path to apply or get the data from. For example using `foo__bar__baz` will result in `your_instance.foo.bar.baz` will be set by the `apply()` function. Setting this to `None` will mean no attribute is read or written by `apply()`. Defaults to same as `name`. :param attrs: A dict containing any custom html attributes to be sent to the `input__template`. :param display_name: The text in the HTML label tag. Default: `capitalize(name).replace('_', ' ')` :param template: Django template filename or `Template` instance for the entire row. Normally you shouldn't need to override on this level. Prefer overriding `input__template`, `label__template` or `error__template` as needed.