Extra filters for django admin site
Project description
Collection of extra filters for the Django admin site
Demo can be found at https://django-smart-admin.herokuapp.com/
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 links
Project home page: https://github.com/saxix/django-adminfilters
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-adminfilters-1.8.0.tar.gz
.
File metadata
- Download URL: django-adminfilters-1.8.0.tar.gz
- Upload date:
- Size: 33.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c33972a75074637b554a98685298110b90b62b6a617eef46df11e537d0d431d9 |
|
MD5 | 87d944e562b3c405de39f42585c597d7 |
|
BLAKE2b-256 | 3e0734de1ebc9b9ef747a2deda7a721d7b1ab59b49c10304da078a4c0c3e906b |