Tweak param docs for Form.set_validator()
This commit is contained in:
parent
fe4a178d43
commit
da13254caa
|
@ -742,9 +742,8 @@ class Form(object):
|
||||||
case the validator pertains to the form at large instead of
|
case the validator pertains to the form at large instead of
|
||||||
one of the fields.
|
one of the fields.
|
||||||
|
|
||||||
TODO: what should the validator look like?
|
:param validator: Callable which accepts ``(node, value)``
|
||||||
|
args.
|
||||||
:param validator: Callable validator for the node.
|
|
||||||
"""
|
"""
|
||||||
self.validators[key] = validator
|
self.validators[key] = validator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue