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 hashes)
Built Distribution
Close
Hashes for peasywidgets-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a10dccdae35c101d9280ceb3ffd90bcce5c74f39c14d03f44ae87fc7ae8b828 |
|
MD5 | 2e59f8d24dc5ef4bdc30393d1fa739d3 |
|
BLAKE2b-256 | 5af27eb4f7011f52eadca4dc85c3d562dab1a933c7274163ea676fb7dd0ec8a4 |