Django MongoDB problem

筅森魡賤 提交于 2019-12-05 06:09:16

I managed to fix the same error by using these packages on github:

https://github.com/django-nonrel/django-nonrel
https://github.com/django-nonrel/djangotoolbox

instead of the ones recommended on Django-Mongodb's setup page. Also, make sure to use the master branch of each, so as to not run into compatibility problems. If you're using pip, you can either pip install each of the following lines separately, or put them into your version of a requirements.txt file for your project:

git+https://github.com/django-nonrel/django-nonrel@master
git+https://github.com/django-nonrel/djangotoolbox@master
git+https://github.com/django-nonrel/mongodb-engine@master

And then run

pip install -r requirements.txt
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!