Skip to main content

No project description provided

Project description

PeasyWidgets

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install peasywidgets
  1. Add peasywidgets to Django INSTALLED_APPS
  2. Import the desired widgets
from peasywidgets.datalist_widgets import DatalistMultiple, DatalistSingle
from peasywidgets.filter_widgets import ChoiceFilterMultiple, ChoiceFilterSingle
  1. Run collectstatic and include the JavaScript in templates `{% static 'peasywidgets.js' %}``

Styling

The following default CSS is available to use with Django's static template tag, otherwise use these selectors to write custom CSS/Tailwind directives.

License

peasywidgets is distributed under the terms of the MIT license.

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

peasywidgets-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

peasywidgets-0.2.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file peasywidgets-0.2.0.tar.gz.

File metadata

  • Download URL: peasywidgets-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for peasywidgets-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d2b00409db54f8da76a1c2fcfa36f7cf42884535c19912632aaa8c890fb106ed
MD5 a0e39b1ef3faebff8cda2d4598244d7f
BLAKE2b-256 fa617fa4893fbdeb125ef10aac2eaeb0f446ea69ccf2bf0ce9eb308b2fedbf68

See more details on using hashes here.

Provenance

File details

Details for the file peasywidgets-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for peasywidgets-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a10dccdae35c101d9280ceb3ffd90bcce5c74f39c14d03f44ae87fc7ae8b828
MD5 2e59f8d24dc5ef4bdc30393d1fa739d3
BLAKE2b-256 5af27eb4f7011f52eadca4dc85c3d562dab1a933c7274163ea676fb7dd0ec8a4

See more details on using hashes here.

Provenance

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