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 (or MultiSelectRelatedFieldListFilter when using on related fields) 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.5.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django_admin_multi_select_filter-1.5.0.tar.gz.

File metadata

File hashes

Hashes for django_admin_multi_select_filter-1.5.0.tar.gz
Algorithm Hash digest
SHA256 c992b970d43cee4d8720b7d7ca37db15b64457851a7f0f01402a7402be044813
MD5 a0de5c4c9d076a198c3c7d23e9a5c997
BLAKE2b-256 3cc3df6078b888eafaf0d05cc75b265d51bec77fbd1b06709876a6a3015b9e33

See more details on using hashes here.

File details

Details for the file django_admin_multi_select_filter-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_multi_select_filter-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b0e5d3ec5fb568947d2df251b31ca05c2700f82cd0d4bb8a4f24a455bc5740
MD5 de29dbce31b80fd34767c230b5a4873b
BLAKE2b-256 93cfdd6bf9ddb9763f98f78704f100e266cc29a2c1b38e655327a6faace5e5b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page