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
...
]
- 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.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
File details
Details for the file django-horizontal-list-filter-0.1.2.tar.gz
.
File metadata
- Download URL: django-horizontal-list-filter-0.1.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce007bc01ee12cf662dc5d49707b18e03349017f85d18df17dfb27482555e27 |
|
MD5 | 42f8ccaeb0e2624bdabe5ad1340b0f6e |
|
BLAKE2b-256 | fa78c21e0e9844997413a0ef31c74927a6a3b977dd7943bc1074c8e5befe965a |
File details
Details for the file django_horizontal_list_filter-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: django_horizontal_list_filter-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60c81c4a347facbf96c2b402d3646c41fe1c28a25fde74ff3c27542a2dac2a62 |
|
MD5 | 9827ab2cedb7c596b5f6609651f6a1e7 |
|
BLAKE2b-256 | a7d3a0158a11354ac0c08f722112c73d8cdb933aca43ad05f29eb1b6d9d5a2df |