Skip to main content

Usefull tools for making grid/accordion layouted forms

Project description

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

pip 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.3.3.tar.gz (21.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: deform_extensions-0.3.3.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.14

File hashes

Hashes for deform_extensions-0.3.3.tar.gz
Algorithm Hash digest
SHA256 058f75484e90606f1a2c633bdf668f8e1b66554bc510742f262a20f17fccb1d0
MD5 0058ca573758ddf03bc1236f5d48e9de
BLAKE2b-256 5fe454ca8728a6a119dd2a7f1157bc0079996d5299476a409898ee0e33922870

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