Ejemplo n.º 1
0
 def _():
     return [(entry.url, entry.title, entry.content) for entry in IPostit(self.store).getPosts(count)]
Ejemplo n.º 2
0
 def data_getFirstPost(self, ctx, data):
     for post in IPostit(self.store).getPosts(1):
         return post
Ejemplo n.º 3
0
 def data_get_posts(self, ctx, data):
     return IPostit(self.store).getPosts(15)
Ejemplo n.º 4
0
 def render_title(self, ctx, data): 
     return ctx.tag.clear()[IPostit(self.store).name]