'Variation of filter that allows results both from typeclass
and from subclasses of typeclass
Args:
args (any): These are passed on as arguments to the default
django filter method.
Kwargs:
kwargs (any): These are passed on as normal arguments
to the default django filter method.
Returns:
objects (list): The objects found.'

def filter_family(self, *args, **kwargs):

    paths = ([self.model.path] + [('%s.%s' % (cls.__module__, cls.__name__)) for cls in self._get_subclasses(self.model)])
    kwargs.update({'db_typeclass_path__in': paths})
    return super(TypeclassManager, self).filter(*args, **kwargs)
