Move list filter to above of the changelist in django admin site.
Project description
django-horizontal-list-filter
Move list filter to above of the changelist in django admin site.
Install
pip install django-horizontal-list-filter
Usage
pro/settings.py
INSTALLED_APPS = [
...
'django_simple_tags',
'django_horizontal_list_filter',
'mptt', # optional
...
]
DJANGO_HORIZONTAL_LIST_FILTER_USE_SELECT2 = True
- If using mptt, make sure that django_horizontal_list_filter is above mptt, because django_horizontal_list_filter is override mptt's template.
- If using some other third part app provides customized list filter, you may need to rewrite the filter's template to turn the result html from
ul
toselect
.
Preview
Releases
v0.2.0 2022/03/06
- Use
DJANGO_HORIZONTAL_LIST_FILTER_USE_SELECT2=True
inpro/settings.py
to turn all simple-select-box to select2-style-select-box.
v0.1.2 2020/09/24
- Remove django_static_jquery3 depends. Inject our css&js into ModelAdmin.media in apps.ready step.
- Add app_requires.
- Add License file.
v0.1.1 2020/04/28
- Fix cl context variable not provided problem.
v0.1.0 2020/04/27
- First release.
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
Built Distribution
Close
Hashes for django-horizontal-list-filter-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0ff435b98a54ac24d9928dc7dc9ece050315823fd60d83f221b47e5d1f7626 |
|
MD5 | 6394cc92e4a520daf8f70738f047a732 |
|
BLAKE2b-256 | a8e24a959793031e7712592a781ad87eed2fc4cbe38b05f22fe6022de9dd558b |
Close
Hashes for django_horizontal_list_filter-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675a9db2ed9f796a3a0e6b306347316baed65db8a86b5765989d1306ba5449e5 |
|
MD5 | 44437987c11647219544756b6da75552 |
|
BLAKE2b-256 | 7bb2ec7199140368b0296ad0ce16e00e44da8cf49ac6a585fd031c1bd5a1a88e |