No project description provided
Project description
django filter groups
This package groups filters generated by django-filter The main reason to use it - don't show all filters (show only selected filters)
how to use
pip install django-filter-groups
add to your INSTALLED_APPS
after django-filter
INSTALLED_APPS = [
...
"django_filters",
"django_filters_groups",
...
]
use it in your template {% filters_by_groups %}
add {{ select_filter_form.media }}
after adding template tag
If FilterSet name is not 'filter' -> add filterset
{% filters_by_groups my_custom_filterset %}
or filterset name
{% filters_by_groups "my_custom_filterset" %}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-filter-groups-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cbe795f85adefcdf6ec5beed317327fdb42bff54b7f5aaf04791edb32f2c322 |
|
MD5 | 8c8ad46793edb34a282e216ce356a076 |
|
BLAKE2b-256 | a6ce732b7b3b6451bfddd21a94692b6e18c54e469e6e31bc2e1b6836976aac0d |
Close
Hashes for django_filter_groups-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13640bf885dbd12a07ded6e9328413ec473040da211a8a61b9875d4bac4e280d |
|
MD5 | 7a592f9bc492146c6de5d1448cb0071e |
|
BLAKE2b-256 | 633ba4567e982980aab17c68ac18155c299ed40abae733ef71d4e7529e943b4e |