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.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.0.tar.gz (6.5 kB view hashes)

Uploaded Source

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