def value_from_object(self, obj):
        return getattr(obj, self.attname).all()
Returns the value of this field in the given model instance.
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/generic/fields.py/BaseGenericRelation.value_from_object