Skip to main content

Usefull tools for making grid/accordion layouted forms

Project description

Note : since version 0.4 deform_extensions is now compatible with python 3

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

  • 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


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.6.tar.gz (50.1 kB view details)

Uploaded Source

Built Distribution

deform_extensions-0.6-py3-none-any.whl (78.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deform_extensions-0.6.tar.gz
  • Upload date:
  • Size: 50.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for deform_extensions-0.6.tar.gz
Algorithm Hash digest
SHA256 fe0164c96ea1de0c07dc93b36d4e0082d9a68d13ac501c46923275781058dfcf
MD5 b53d0a5ac1797e52fda537c5bfa7f092
BLAKE2b-256 51553e2d4ef3ce54f7f2bc67e5f74c77379ad75fec23484117f996054243e442

See more details on using hashes here.

File details

Details for the file deform_extensions-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for deform_extensions-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5121932e45305c6a502026601f00d5215353831d98c81b14004c61e1bd5d39b1
MD5 e389692d7f0b7d635f9c917a6fb2b410
BLAKE2b-256 a7b87431eb465842def70ab4c101ee937f21c26d58b47254b07712b4b46a0406

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