Skip to main content

A simple Django app to add hide/show ability to the filter in Django admin.

Project description

Closable Admin Filter

When there are too many fields in Django admin and it's necessary to have the filter, it turns to very ugly situation, when filter `flies` over the fields.

So here's a simple Django app to provide a "HIDE" button for the filter.

Quick start

1. Install the package using::

pip install django-closable_admin_filter

2. Add "closable_admin_filter" to your INSTALLED_APPS setting like this::


3. Add the AdminClosableFilterMixin to your inherited from ModelAdmin class like this::

class MyAdmin(AdminClosableFilterMixin, admin.ModelAdmin):

4. Visit http://your.domain/admin/your_app/your_model/ to enjoy the result.

Project details

Download files

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

Files for django-closable_admin_filter, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-closable_admin_filter-0.1.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page