Trees | Indices | Help |
---|
|
This is the default Meta class which defines all the default values and therefore also the 'API' of the class Meta interface.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
bind_field allows potential customization of how fields are bound. The default implementation simply passes the options to :meth:`UnboundField.bind`. :param form: The form. :param unbound_field: The unbound field. :param options: A dictionary of options which are typically passed to the field. :return: A bound field |
Build a CSRF implementation. This is called once per form instance. The default implementation builds the class referenced to by :attr:`csrf_class` with zero arguments. If `csrf_class` is ``None``, will instead use the default implementation :class:`wtforms.csrf.session.SessionCSRF`. :param form: The form. :return: A CSRF implementation. |
Override in subclasses to provide alternate translations factory. See the i18n documentation for more. :param form: The form. :return: An object that provides gettext() and ngettext() methods. |
render_field allows customization of how widget rendering is done. The default implementation calls ``field.widget(field, **render_kw)`` |
wrap_formdata allows doing custom wrappers of WTForms formdata. The default implementation detects webob-style multidicts and wraps them, otherwise passes formdata back un-changed. :param form: The form. :param formdata: Form data. :return: A form-input wrapper compatible with WTForms. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Dec 5 22:37:24 2016 | http://epydoc.sourceforge.net |