def get_absolute_url(self):
    if self.is_public:
        return self.url
    return ('%s*' % self.url)
def get_absolute_url(self):
    if self.is_public:
        return self.url
    return ('%s*' % self.url)