Exemple #1
0
    def get(self):

        exclusive = Exclusive.query().fetch()
        if len(exclusive):
            exclusive = exclusive[0]
        else:
            exclusive = {'text': ''}

        self.response.write(render('exclusive', {'exclusive': exclusive}))
Exemple #2
0
 def get(self):
     self.response.write(render('works', { 'works': Work.get_root()['children'] }))