Filtering rows withing Admin using a Queryset - Django

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-06-07T12:48:16Z Indexed on 2010/06/07 12:52 UTC
Read the original article Hit count: 914

Hi folks,

I'm trying to find a way to filter down rows of objects within Django Admin, using a queryset.

e.g. Person.objects.filter(Q(name='John')|Q(surname='Doe'))

I'm finding quite complicated to figure out.


Any ideas?

© Stack Overflow or respective owner

Related posts about python

Related posts about django