1
나는 토네이도장고 : '모듈'개체가 어떤 속성 'WSGI'
wsgi_app = tornado.wsgi.WSGIContainer(
django.core.wsgi.WSGIHandler()
)
tornado_app = tornado.web.Application(
[
(r"/hello/(.*)", HelloHandler),
('.*', tornado.web.FallbackHandler, dict(fallback=wsgi_app)),
]
)
server = tornado.httpserver.HTTPServer(tornado_app)
server.listen(options.port)
tornado.ioloop.IOLoop.instance().start()
폴백 사용 토네이도 서버에 장고 WSGI 응용 프로그램을 실행할하기 위해 노력하고있어하지만이 파일을 실행할 때, 내가있어이 없습니다 다음 오류 :
django.core.wsgi.WSGIHandler()
AttributeError: 'module' object has no attribute 'wsgi'