Exemple #1
0
 def get_path(self):
   if not self.path:
     self.path = Link.get_or_add('/?m=' + self.id).path
     self.put()
   return self.path
Exemple #2
0
 def link(self):
   if not self.path:
     self.path = Link.get_or_add('/?m=' + self.id).path
     self.put()
   return constants.SHARE_URL + self.path