【发布时间】:2013-03-01 02:25:54
【问题描述】:
我正在使用 gunicorn + django 设置一个 Web 服务器。有两种部署选项:要么使用常规 WSGI,要么使用 gunicorn 的 django-integration。我很想使用后者,因为它简化了配置,但django documentation 是这样说的:
If you are using Django 1.4 or newer, it’s highly recommended to simply run your
application with the WSGI interface using the gunicorn command as described above.
他们没有给出任何解释,所以我想知道为什么“强烈推荐”使用 WSGI?有什么想法吗?
非常感谢。
【问题讨论】:
标签: django gunicorn django-wsgi