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

Uploaded Source

Built Distribution

deform_extensions-0.5-py3-none-any.whl (67.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deform_extensions-0.5.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.7

File hashes

Hashes for deform_extensions-0.5.tar.gz
Algorithm Hash digest
SHA256 dd5060118ca83a5ce1519c75bfac5186aa7c9ceac4d52b0cc0a5e4e51a093075
MD5 fa35ae794fc251ff0062c078bfe8b051
BLAKE2b-256 25b5a69effbbc4742a4718e1c466e29c5dbfd43fe4cf61775bf519169f721c85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deform_extensions-0.5-py3-none-any.whl
  • Upload date:
  • Size: 67.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.7

File hashes

Hashes for deform_extensions-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a44ae9bdd44548a1813f2998b2191dcf68c62103f76b77eee547bca0ce2f9f6
MD5 23b5c7edff98488265730877a157f7fe
BLAKE2b-256 b2a92d00b90ca5c2e761737108618dbbb6a9e630c72fb5f451d72baf307ec335

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