(self)
return ""
Fake this function to redirect to parent object and get rid
        of actstream error.
Fake this function to redirect to parent object and get rid
        of actstream error.
Fake this function to redirect to parent object and get rid of actstream error .
def get_absolute_url(self):
        """
        Fake this function to redirect to parent object and get rid
        of actstream error.
        """
        if self.content_object is not None:
            content_type = ContentType.objects.get_for_model(self.content_object)
            the_url = self.content_object.get_absolute_url()
            return '{}#content-{}'.format(the_url, self.pk)
        return ""
def get_absolute_url ( self ) : if self . content_object is not None : content_type = ContentType . objects . get_for_model ( self . content_object ) the_url = self . content_object . get_absolute_url ( ) return '{}#content-{}' . format ( the_url , self . pk ) return ""