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.0.tar.gz
(6.7 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b00409db54f8da76a1c2fcfa36f7cf42884535c19912632aaa8c890fb106ed |
|
MD5 | a0e39b1ef3faebff8cda2d4598244d7f |
|
BLAKE2b-256 | fa617fa4893fbdeb125ef10aac2eaeb0f446ea69ccf2bf0ce9eb308b2fedbf68 |
Provenance
File details
Details for the file peasywidgets-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: peasywidgets-0.2.0-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 | 5a10dccdae35c101d9280ceb3ffd90bcce5c74f39c14d03f44ae87fc7ae8b828 |
|
MD5 | 2e59f8d24dc5ef4bdc30393d1fa739d3 |
|
BLAKE2b-256 | 5af27eb4f7011f52eadca4dc85c3d562dab1a933c7274163ea676fb7dd0ec8a4 |