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.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
File details
Details for the file django-horizontal-list-filter-0.1.0.tar.gz
.
File metadata
- Download URL: django-horizontal-list-filter-0.1.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d58bfe46a55692c3cb529f261e1c21a20ddcd629e0ed2331ae59be1da8df7c |
|
MD5 | 01229ded15f8b43674a11260b5c8034f |
|
BLAKE2b-256 | 0d2546f219d8c7ec367fa5729fae5bf0d7d316a06524b8ddf7fc7cb4dace2829 |