'Return the list of objects in the GM2MField relation.'

def value_from_object(self, instance, name):

    return (None if (not instance.pk) else [getattr(x, 'gm2m_tgt', x) for x in getattr(instance, name).all()])
