Skip to main content

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 to select.

Releases

v0.1.1 2020/04/28

  • Fix cl context variable not provided problem.

v0.1.0 2020/04/27

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-horizontal-list-filter-0.1.1.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file django-horizontal-list-filter-0.1.1.tar.gz.

File metadata

  • Download URL: django-horizontal-list-filter-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 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

Hashes for django-horizontal-list-filter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d3cb57f585ae6032a9eaa6f98e24144c92b06bb9716a3774ac52ff3c506f2f2b
MD5 14cd382dfbe5c14c58cc308ce706a682
BLAKE2b-256 321953ed68f4f934bcc16b9897c0f9063f3fe7806431e72f66eecf655a7a0c72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page