

def __get__(self, instance, instance_type=None):
    if (instance is None):
        return self
    rel_model = self.related.model
    manager = self.related_manager_cls(model=rel_model, query_field_name=self.related.field.name, prefetch_cache_name=self.related.field.related_query_name(), instance=instance, symmetrical=False, source_field_name=self.related.field.m2m_reverse_field_name(), target_field_name=self.related.field.m2m_field_name(), reverse=True, through=self.related.field.rel.through)
    return manager

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/fields/related.py ManyRelatedObjectsDescriptor.__get__/original