Skip to main content

Usefull tools for making grid/accordion layouted forms

Project description

Travis-ci: continuous integration status.

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

  • CustomDateInputWidget : Date

  • 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

pip install pytest
py.test -xv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deform_extensions-0.3.2.tar.gz (20.7 kB view details)

Uploaded Source

File details

Details for the file deform_extensions-0.3.2.tar.gz.

File metadata

File hashes

Hashes for deform_extensions-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c98f9b223766bceea28f478c7a3c9f6fffd4c42f8514cc910f93096ed2055823
MD5 e93fbb1fbc3925c57d2a15b3917ac4ba
BLAKE2b-256 8b83422c7f74f8c9e3031544c5836af224b501a64181353d3c929440bf596cdf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page