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.1.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for peasywidgets-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ffc7b72750a0762c024ddcfea0ba3c8b070dae72fb5ddc79c875a80b72c050 |
|
MD5 | c1accf220f60612c1a93e9dba231b313 |
|
BLAKE2b-256 | 5af2c2d7cd075c3a95ad83cbae192162bfefcb58dbeecf70c46fac8f3a90d2cc |