django-mptt-simple-listfilters
Provides simple filters based on django-mptt's TreeRelatedFieldListFilter, e.g. ListFilterIgnoreLeafNodes and ListFilterLimitDepth.
Install
pip install django-mptt-simple-listfilters
Provide List Filters
-
ListFilterIgnoreLeafNodes
Ignore all leaf nodes.
-
ListFilterLimitDepth
Only show roots in the filter list. You can create your own filter inherit from ListFilterLimitDepth and reset the max_depth value.
-
ListFilterLimitDepth2
-
ListFilterLimitDepth3
-
ListFilterLimitDepth4
These are shortcuts for ListFilterLimitDepth, and reset the max_depth value to 2, 3 and 4.
Usage
Use as TreeRelatedFieldListFilter.
Releases
v0.1.1
- First release.
v0.1.2
- Doc update.
Release files for django-mptt-simple-listfilters 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_mptt_simple_listfilters-0.1.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_mptt_simple_listfilters-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / django_mptt_simple_listfilters-0.1.2.tar.gz
| Download URL | django_mptt_simple_listfilters-0.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c438193806eb330450361f68e4bb509c2314fa15df752a25e88cbbbbda1439de
|
|
BLAKE2b-256 checksum How to use checksums |
5fd27595916289da8ada3391d46531a88ee023b8bd1852a86f78ca703193bcb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Release files / django_mptt_simple_listfilters-0.1.2-py3-none-any.whl
| Download URL | django_mptt_simple_listfilters-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6818af97cd7f8fb00a896031e6b8170f99d8c8693f75b0534a65bf53fad44df2
|
|
BLAKE2b-256 checksum How to use checksums |
0b2ffe62f8bb9542f96aac6fc430c772d82914f035eb188be7d6d1506a995daa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|