2
我在我的python django项目中使用了mongoengine。写关注在django中使用mongoengine时的弃用警告
Django的版本是:1.5.1
mongoengine版本是:0.7.10
我得到在对文件进行蒙戈DB插入下面的警告(由PiP安装获取最新版本):
lib/python2.7/site-packages/pymongo/common.py:592: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead.
如何在我使用的mongoengine版本上修复此警告?我能找到的唯一文档是针对以后的版本。
请参阅http://mongoengine-odm.readthedocs.org/en/latest/upgrade.html#safe。 – alecxe 2013-04-30 09:57:49