@must_be_contributor_or_public
def get_pointed(auth, node, **kwargs):
 return {'pointed': [serialize_pointer(each, auth) for each in node.pointed if (not get_pointer_parent(each).is_collection)]}

@ must_be_contributor_or_public def get_pointed ( auth , node , ** kwargs ) : return { 'pointed' : [ serialize_pointer ( each , auth ) for each in node . pointed if ( not get_pointer_parent ( each ) . is_collection ) ] }
view that returns the pointers for a project .