class PhotobookFilter(df.FilterSet):
    brand = df.CharFilter(method='filter_brand')

def filter_brand(self, queryset, name, value):
    return queryset.filter(**{'attributes__type': 'brand',
        'attributes__value': value})
Django filter on values of child objects