No project description provided
Project description
PeasyWidgets
Table of Contents
Installation
pip install peasywidgets
- Add
peasywidgets
to DjangoINSTALLED_APPS
- Import the desired widgets
from peasywidgets.datalist_widgets import DatalistMultiple, DatalistSingle
from peasywidgets.filter_widgets import ChoiceFilterMultiple, ChoiceFilterSingle
- 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
Release history Release notifications | RSS feed
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.4.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file peasywidgets-0.2.4.tar.gz
.
File metadata
- Download URL: peasywidgets-0.2.4.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5efd248cc27b547a37c01a2716e7cf7c4e9ec2e4ebf21df2b14ee8f30237ea9 |
|
MD5 | 9940f972d4009f99194edcb5a4519c40 |
|
BLAKE2b-256 | 2b98ca7400b69429a27c108af6ab46799f9bba4b19db3208d5bcbb098a772a28 |
Provenance
File details
Details for the file peasywidgets-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: peasywidgets-0.2.4-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3328a31b1700e05f49a128c8aa539fb49d9b9916f3b49056a6a09480a49fa70a |
|
MD5 | 2dbec882ddacf32cad20625459ace6bb |
|
BLAKE2b-256 | b4bd86b147f749efdb5b2aff8ce2e3fbe4986e52097194931d6162c4ee0ffafa |