Usefull tools for making grid/accordion layouted forms
Project description
Note : since version 0.4 deform_extensions is now compatible with python 3
This package provides custom widgets and form layout widgets.
It aims to extend deform 2 and replaces the former deform_bootstrap_extensions (that was dedicated to deform_bootstrap and deform 0.* serie)
Install
pip install deform_extensions
Custom widgets
LocalizationWidget : Map location
CustomDateTimeInputWidget : Datetime widget
RadioToggleWidget
Date related widgets were added to allow a better support for internationalization and different format support.
The RadioToggleWidget is a common radio widget that allow to hide show form nodes on selection. It’s very similar to deform base Radio widget, the difference is that values parameters is a list of 3-uples (instead of 2-uples), allowing to specify the name of a form node to hide/show.
Layout Tools
Layout tools:
DisabledInput (that really doesn’t allow edition)
InlineMappingWidget
VoidWidget that is used by GridWidgets to fill void cells
TableMappingWidget
GridMappingWidget
AccordionMappingWidget
TableFormWidget
GridFormWidget
AccordionFormWidget
See __init__.py source code for some docs or ping me on Freenode @tonthon
Run tests
pip3 install pytest
py.test -xv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for deform_extensions-0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d65e033702acb5086e9ef63a16680a28ebceb2a3a2522cb8e3955ea0e25f59 |
|
MD5 | 870445f25b4534eccc0df455d733c732 |
|
BLAKE2b-256 | 3cab919bc85a8bbb9f02d7075453c8082803cc6d490fc8f8bcdbc508fcd016d1 |