Skip to main content

Extra filters for django admin site

Project description

Collection of extra filters for the Django admin site

https://travis-ci.org/saxix/django-adminfilters.svg?branch=develop https://codecov.io/github/saxix/django-adminfilters/coverage.svg?branch=develop https://badges.gitter.im/saxix/django-adminfilters.svg

Filters

  • AutocompleteFilter

  • AllValuesComboFilter

  • AllValuesRadioFilter

  • BooleanRadioFilter

  • NumberFilter

  • RelatedFieldComboFilter

  • RelatedFieldRadioFilter

  • RelatedFieldCheckBoxFilter

  • StartWithFilter

  • PermissionPrefixFilter

  • MultipleSelectFieldListFilter

  • IntersectionFieldListFilter

  • UnionFieldListFilter

  • ForeignKeyFieldFilter

Usage examples

class UserAdmin(ModelAdmin):
    list_filter = (TextFieldFilter.factory('name__istartswith'),)

Run demo app

Note: django-adminfilters is also included in django-smart-admin, there is a running demo at https://django-smart-admin.herokuapp.com/

$ git clone https://github.com/saxix/django-adminfilters.git
$ cd django-adminfilters
$ python3 -m venv .venv
$ source .venv/bin/activate
$ make develop
$ make demo

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-adminfilters-1.6.1.tar.gz (31.9 kB view details)

Uploaded Source

File details

Details for the file django-adminfilters-1.6.1.tar.gz.

File metadata

  • Download URL: django-adminfilters-1.6.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 importlib_metadata/4.3.0 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.8

File hashes

Hashes for django-adminfilters-1.6.1.tar.gz
Algorithm Hash digest
SHA256 a6f1bea0aecad814cbd5b12ac2a2512b9e000825f28548e3419de871babc61d5
MD5 cf6d2b27094b830dfadd70cedb80bdbe
BLAKE2b-256 aaf4db75a97328300e3c76edd6d2dfffedf715881a856ba81d933388b835fc0f

See more details on using hashes here.

Supported by

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