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

  • 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

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

Uploaded Source

Built Distribution

deform_extensions-0.4.1-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deform_extensions-0.4.1.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

File hashes

Hashes for deform_extensions-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d2c10955bda8dca16986b524da7c59b9ca1a39e4045fcfbf26640fadc60e3df7
MD5 13b3e72641c5be98334170bed2676de3
BLAKE2b-256 4a029ee1b5a2245dd6ac4ecc2d19a17b2afc418d8f5c8a6c7bb77be7e4b4fa6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deform_extensions-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

File hashes

Hashes for deform_extensions-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84fdf30ca15d12384c533f307ef3cc038ec3db5b4003b6fc45b6e9f00b956235
MD5 03abf9650fa53e68e11a58044f9ad970
BLAKE2b-256 862aea098336c24595bdff7eb45638b6f9d2e47e44125aa0799474a130e1b93c

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