Exemplo n.º 1
0
  def get(self):

    context = {
      "posts": Post.getLatest()
    }

    self.response.write(render_to_text('index.html', context))
Exemplo n.º 2
0
 def get(self):
     self.response.write(
         render_to_text('%s.html' % self.element_name,
                        {'element_name': self.element_name}))
Exemplo n.º 3
0
 def get(self):
   self.response.write(render_to_text('%s.html' % self.element_name, {
     'element_name': self.element_name
   }))
Exemplo n.º 4
0
 def render_to_response(self, template_name, context):
   self.response.write(render_to_text(template_name, context))