Skip to main content

Additional filters for Djagno Grappelli admin

Project description

Autocomplete filter for Grappelli

v 0.2.1 (usable, but only if you know why)

Filter for Foreign key and ManyToMany relations with AJAX autocomplete. Reuses features from Grappelli, works nicely along other filters and with both standard and sidebar filter template…

Screenshot

Installation

Put grappelli-filters in your PYTHONPATH.

Add 'grappelli-filters' to INSTALLED_APPS

Filters

Search Filter

This filter allows string searches over a single field. Several filters combined provide better control over the resulting list then does the built-in django-admin search_fields feature.

Usage

In admin.py add:

from grappelli_filters SearchFilter

class MyModelAdmin(admin.ModelAdmin):
    list_filter = ( ... ('field_name', SearchFilter), ... )

Case-sensitive Search Filter

Similar to Search Filter, but searches are case-sensitive.

Usage

Use SearchFilterC instead of SearchFilter

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-grappelli-filters-0.2.1.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file django-grappelli-filters-0.2.1.tar.gz.

File metadata

File hashes

Hashes for django-grappelli-filters-0.2.1.tar.gz
Algorithm Hash digest
SHA256 94d74daee0d5c557f24293105c37ba28e5849d6191f391b32bfb1f9e10fee05f
MD5 044ad40f2fdfa16ed013394de8fe94a5
BLAKE2b-256 1d4605a62e340a2100fd27906a69aa73ac53839faaa7ad263a37573af059c2e7

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