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

Uploaded Source

Built Distribution

deform_extensions-0.8-py3-none-any.whl (91.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deform_extensions-0.8.tar.gz
  • Upload date:
  • Size: 52.9 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.8.tar.gz
Algorithm Hash digest
SHA256 6f56a3004210f9c9603d6c6a7465036655277d05d16647a9a428b86b09400918
MD5 a5158893dbed96bd500f5da8f31e6b93
BLAKE2b-256 cfb59d9ca1ce9e077e8cfd5cc991b443363f0f8e1db47c420b4d051b114cfc67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deform_extensions-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5f182943b43a7e5ee92d1034f7437735469c4816c6afb2f92a2460d6f02f6b
MD5 c5ec16aaafa4d8d4d85819193ce7db32
BLAKE2b-256 3086ade0d3356a7c355c90390c33ed1e9b4d30095b8f1164fc85208337b9d144

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