from tornado.wsgi import WSGIContainer from flasky import app from handlers.foo import FooHandler from tornado.web import FallbackHandler flaskFallback = WSGIContainer(app) url_patterns = [ (r"/foo", FooHandler), (r".*", FallbackHandler, dict(fallback=flaskFallback)), ]