Skip to main content

Django admin filter for multiple select

Project description

Django admin multi-select filter

Django admin multi-select filter is a Django app that allows you to add a multi-select filter to the Django admin.

Installation

  1. Install using pip:
    pip install django-admin-multi-select-filter
    
  2. Use the MultiSelectFilter in your admin classes (you do not need to add the app to INSTALLED_APPS):
    from django.contrib import admin
    from django_admin_multi_select_filter.filters import MultiSelectFieldListFilter
    
    class MyModelAdmin(admin.ModelAdmin):
        list_filter = (
            ...
            ('my_field', MultiSelectFieldListFilter),
            ...
        )
    

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-admin-multi-select-filter-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page