On Fri, Dec 5, 2008 at 10:04 AM, Michel Thadeu Sabchuk
<[EMAIL PROTECTED]>wrote:

>
> Hi guys,
>
> Is there a way to use advanced list_filter in admin? I can filter by
> pub_date but is there a way to filter by pub_date__isnull or by some
> python function?
>
> I want to filter all entries with pub_date set to None but I donĀ“t
> want to change the modeladmin queryset, how can I do this?
>
>
The null filtering sounds like this ticket:

http://code.djangoproject.com/ticket/8528

More advanced (having your own Python function) sounds like this one:

http://code.djangoproject.com/ticket/5833

which is on the maybe list for Django 1.1.

(I have not looked at either of these in any detail, am simply pointing to
things that might have patches you may find useful or want to help with
moving along in the process.)

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to