As an example, if a user model has datefields to indicate start and end
dates of their site membership, I'd like to create a filter to only
show 'current members'. The actual criteria would be where the end
date of their membership > today.
I suppose more generally, it would be nice to be able to create any
sort of filter that could be described using the database API.
It's not possible at the moment to create custom filters, but this is
on the to-do list for the (figurative) version 2.0 of the admin site.
In the mean time, you can add "&end_date__lt=2006-08-03" to the URL of
the changelist page, and the objects will filter. The query string
accepts any lookup-style argument that the database API uses.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com