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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deform_extensions-0.9-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deform_extensions-0.9.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for deform_extensions-0.9.tar.gz
Algorithm Hash digest
SHA256 03ea6455d634c9e9544a27aa5584c420e989f0e99041ac57e0b41f373a53d4d3
MD5 8aeda96a5c2a708e7c5a5437a99c040f
BLAKE2b-256 b1bdd8478080565e1b20f1c6457889ea2fdcf125dc8c89e3d5889ee60f4551cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deform_extensions-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f332205e8f081480dbd6fc4ed7ce4b858f633cc2eb7a630e2603748a053f1901
MD5 0b6e0e2fc333c22aa07926e4d0761f93
BLAKE2b-256 33daba125d2844a025f98669ba63ed6f39a5c2d8d5b83669cdd4df1d189507a9

See more details on using hashes here.

Supported by

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