Tornado iframe src
Estou tentando usar um iframe da seguinte maneira:
<iframe src="????" width="350" height="500"></iframe>
onde o servidor Tornado se parece com isso:
class FrameHandler(RequestHandler):
def get(self):
user = self.get_argument("username")
self.set_cookie("user", user)
out = tableizer(user)
self.render('messages.html',table=out)
application = tornado.web.Application(
[
(r"/frame", FrameHandler),
],
debug=True,
template_path=os.path.join(os.path.dirname(__file__), ""),
static_path=os.path.join(os.path.dirname(__file__), "static"),
)
Como faço para que meu iframe exiba messages.html?