Exemplo n.º 1
0
 def get(self):
     items = []
     for guide in AbbreviationGuide.all():
         items.append(AdminAbrvGuideItem(guide.name, guide.key().name()))
     template_values = { "items": items }
     path = os.path.join(os.path.dirname(__file__), 'template/adminabrvguide.html')
     self.response.out.write(template.render(path, template_values))
Exemplo n.º 2
0
 def get(self):
     items = []
     for guide in AbbreviationGuide.all():
         items.append(AdminAbrvGuideItem(guide.name, guide.key().name()))
     template_values = {"items": items}
     path = os.path.join(os.path.dirname(__file__),
                         'template/adminabrvguide.html')
     self.response.out.write(template.render(path, template_values))