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::

INSTALLED_APPS = (
...
'closable_admin_filter',
)

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


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-closable_admin_filter-0.1.1.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Nov 9, 2015

Supported by

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