Simple Tornado web server with Django framework - 알아보기

from tornado import httpserver, ioloop, wsgi
from yourdjangoapp.wsgi import application

if __name__ == "__main__":
    container = wsgi.WSGIContainer(application)
    server = httpserver.HTTPServer(container)
    server.listen(8080)
    ioloop.IOLoop.instance().start()

덧글

댓글 입력 영역