def METHOD_NAME(self):
    if self.add_only or isinstance(self.content_object, Collaboration):
        parent = self.content_object.get_parent()
        if parent and isinstance(parent.content_object, Project):
            return parent.content_object.get_absolute_url()
        else:
            return getattr(self.things[0], 'get_parent_url',
                           self.things[0].get_absolute_url)()
    else:
        return self.content_object.get_absolute_url()