Depot

New in version 2.0.

../_images/depot.gif

This optional django app allows you to store/retrieve filters configuration. It is fully compatible with any filter

Install

Just as any other Django application

settings.py
# settings.py
INSTALLED_APPS = (
    ...
    'django.contrib.admin',
    'adminfilters.depot',
    )
admin.py
# admin.py
from adminfilters.depot.widget import DepotManager
from adminfilters.mixin import AdminFiltersMixin

class ArtistModelAdmin(AdminFiltersMixin, ModelAdmin):
    list_filter = (
        DepotManager,
        ...
        )

Now you are able to store/retrieve filtering criteria for ArtistModelAdmin. Filters are stored in :class:StoredFilter model and availble thru StoredFilterAdmin

DepotManager

../_images/depot.png