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.2.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file peasywidgets-0.2.2.tar.gz
.
File metadata
- Download URL: peasywidgets-0.2.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3bd56332a08aa0a7c9f13c43f2ff292fbd0a9764e4c6f44a11dcd1deac687c |
|
MD5 | af830a33613415a4b7ba7d4b4f9f51e6 |
|
BLAKE2b-256 | 345c4e56b2422768b46e710bdf1c00bb7fcb403565af41e5fffdc2eabcb0e382 |
Provenance
File details
Details for the file peasywidgets-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: peasywidgets-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23cd8aa2ca621dbf35174b4051840ec6a382962746ef9cb2cc29eba618f8ad9f |
|
MD5 | 72d6f365a613250a806274efe9f9499c |
|
BLAKE2b-256 | 214519fe330daf72002243db7c084f69f7c536c8d26962688b65beb269987045 |