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_static_jquery3',
'django_simple_tags',
'django_horizontal_list_filter',
'mptt', # optional
...
]
- Add django_static_jquery3, django_simple_tags and django_horizontal_list_filter to settings.INSTALLED_APPS.
- 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
.
Releases
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
Close
Hashes for django-horizontal-list-filter-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3cb57f585ae6032a9eaa6f98e24144c92b06bb9716a3774ac52ff3c506f2f2b |
|
MD5 | 14cd382dfbe5c14c58cc308ce706a682 |
|
BLAKE2b-256 | 321953ed68f4f934bcc16b9897c0f9063f3fe7806431e72f66eecf655a7a0c72 |