Edit me on GitHub

Module contents

class sacrud_deform.GroupShema(group, table, obj, dbsession, columns, translate=<function gettext at 0x7f83448ca848>)[source]

Bases: object

build(columns)[source]
custom_type_preprocessing(col)[source]
get_column_css_styles(col)[source]
get_foreign_key_node(**kwargs)[source]
get_node(values=None, mask=None, validator=None, node_kwargs={}, **kwargs)[source]
sacrud_deform.form_generator(dbsession, obj, table, columns_by_group, request)[source]
sacrud_deform.includeme(config)[source]

Widgets

class sacrud_deform.widgets.ElfinderWidget(**kw)[source]

Bases: deform.widget.TextInputWidget

template = 'sacrud_deform:templates/deform/Elfinder.pt'
class sacrud_deform.widgets.HiddenCheckboxWidget(**kw)[source]

Bases: deform.widget.CheckboxWidget

template = 'sacrud_deform:templates/deform/HiddenCheckbox.pt'
class sacrud_deform.widgets.HstoreWidget(**kw)[source]

Bases: deform.widget.TextAreaWidget

template = 'sacrud_deform:templates/deform/Hstore.pt'
class sacrud_deform.widgets.M2MWidget(**kw)[source]

Bases: deform.widget.CheckboxWidget

template = 'sacrud_deform:templates/deform/Many2Many.pt'
class sacrud_deform.widgets.SlugWidget(**kw)[source]

Bases: deform.widget.TextInputWidget

template = 'sacrud_deform:templates/deform/Slug.pt'

Common

Common

class sacrud_deform.common.HTMLText(text)[source]

Bases: object

class sacrud_deform.common.MemoryTmpStore[source]

Bases: dict

Instances of this class implement the deform.interfaces.FileUploadTempStore interface

preview_url(uid)[source]
sacrud_deform.common.get_column_default_value(col, obj)[source]
sacrud_deform.common.get_column_description(col)[source]
sacrud_deform.common.get_column_title(col, translate=<function gettext at 0x7f83448ca848>)[source]
sacrud_deform.common.get_column_type(col)[source]
sacrud_deform.common.get_pk(obj)[source]
sacrud_deform.common.get_validator(widget)[source]
sacrud_deform.common.get_widget(widget_type, values, mask, css_class, col)[source]

Table Of Contents

Previous topic

Welcome to sacrud_deform’s documentation!