def get(self): titolo = self.get_argument('titolo') id = self.get_argument('id') self.render('news_one.xhtml', news=Connect.news_one("", titolo, id), pagina=Connect.body("", "sanpiero"), titolo=titolo, id=id)
def news_one(): titolo = request.args['titolo'] id = request.args['id'] """Handle the front-page.""" return flask.render_template('news_one.xhtml', news=Connect.news_one("", titolo, id), pagina=Connect.body("", "sanpiero"), titolo=titolo, id=id)