def post(self): person=Person.all().filter('user = '******'displayname') person.brandname=self.request.get('brandname') person.save() self.get()
def render(handler, path, template_values): person=Person.all().filter('user = '******'person':person }); template_values.update( { 'content':template.render(path, template_values) }); shared_path = os.path.join(os.path.dirname(__file__), '../html/shared.html') handler.response.out.write(template.render(shared_path, template_values))