@property
    def uri(self):
        cache_key = 'pages.uri.{slug}'.format(slug=self.slug)
        uri = cache.get(cache_key)
        if not uri:
            parent = self.parent_id and self.parent.uri or ('/%s/' % ROOT)
            uri = "{parent}{slug}/".format(parent=parent, slug=self.slug)
            cache.set(cache_key, uri)
        return uri
dataset/ETHPy150Open klen/Flask-Foundation/base/pages/models.py/Page.uri/original