'Get a QuerySet of objects related to `objs` via the relation `related`.'

def related_objects(self, related, objs):

    return related.related_model._base_manager.using(self.using).filter(**{('%s__in' % related.field.name): objs})
