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…
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
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-grappelli-filters-0.2.1.tar.gz
.
File metadata
- Download URL: django-grappelli-filters-0.2.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d74daee0d5c557f24293105c37ba28e5849d6191f391b32bfb1f9e10fee05f |
|
MD5 | 044ad40f2fdfa16ed013394de8fe94a5 |
|
BLAKE2b-256 | 1d4605a62e340a2100fd27906a69aa73ac53839faaa7ad263a37573af059c2e7 |