skip to navigation
skip to content

Not Logged In

django-grappelli-filters 0.2.1

Additional filters for Djagno Grappelli admin

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…

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

 
File Type Py Version Uploaded on Size
django-grappelli-filters-0.2.1.tar.gz (md5) Source 2014-04-04 7KB
  • Downloads (All Versions):
  • 17 downloads in the last day
  • 59 downloads in the last week
  • 310 downloads in the last month