@property
    def sharable_url(self):
        if not self.is_published or self.is_future_published:
            if self.secret_key:
                return reverse("pinax_blog:blog_post_secret", kwargs={"post_secret_key": self.secret_key})
            else:
                return "A secret sharable url for non-authenticated users is generated when you save this post."
        else:
            return self.get_absolute_url()
An url to reach this post (there is a secret url for sharing unpublished
dataset/ETHPy150Open pinax/pinax-blog/pinax/blog/models.py/Post.sharable_url