【发布时间】:2012-12-12 06:08:52
【问题描述】:
好像 pymongo 不能用 gunicorn 运行?
我的堆栈是 Django + MongoEngine(pymongo 的包装器),现在尝试实现 Web 套接字(gevent),因此它需要与 gunicorn 服务器一起运行。但是,当与 Gunicorn 一起运行时。不需要任何数据库命中的登录页面,它加载正常,但在登录(命中数据库)后它会做一些时髦的事情并在所有页面中返回“AssertionError:ids don't match”错误。
有没有人和我一样的经历?如果您知道解决方案,请告诉我。
我正在运行 Django 1.4 + pymongo 2.2.1
【问题讨论】: