views:

54

answers:

0

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?