PeasyWidgets
Table of Contents
Installation
pip install peasywidgets
- Add
peasywidgetsto DjangoINSTALLED_APPS - Import the desired widgets
from peasywidgets.datalist_widgets import DatalistMultiple, DatalistSingle
from peasywidgets.filter_widgets import ChoiceFilterMultiple, ChoiceFilterSingle
- Run
collectstaticand 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.
Metadata
Release files for peasywidgets 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| peasywidgets-0.2.5.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peasywidgets-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / peasywidgets-0.2.5.tar.gz
| Download URL | peasywidgets-0.2.5.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cd080873228b618e085c411f9a09ef44893fbded4ef264a447c4316344c0068
|
|
BLAKE2b-256 checksum How to use checksums |
c7f11323f9006536f007012c491ac92b685954c85a4347cca67affb02756da88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / peasywidgets-0.2.5-py3-none-any.whl
| Download URL | peasywidgets-0.2.5-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a51c403067c420011a87dbea3eedfc8f9a6505a53e0b5c409b894ac04542ad1c
|
|
BLAKE2b-256 checksum How to use checksums |
077ca82e364ade711f289436e698c3f26d49ee181bab069d26ffb2733a130c39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|