django.core.exceptions.ImproperlyConfigured:'django_mongodb_engine'不是可用的数据库后端 [英] django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend

查看:97
本文介绍了django.core.exceptions.ImproperlyConfigured:'django_mongodb_engine'不是可用的数据库后端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法正确运行django mongo引擎.

I'm unable to run django mongo engine properly.

settings.py中我的数据库条目是

My database entry in settings.py is

DATABASES = {
'default': {
    'ENGINE': 'django_mongodb_engine',
    'NAME': 'local',
}
}

我的点冻结结果是

Django==1.8.2
django-mongodb-engine==0.5.2
djangotoolbox==1.6.2
pymongo==3.0.2

运行时出错

python manage.py runserver

django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
u'base', u'mysql', u'oracle', u'postgresql_psycopg2', u'sqlite3'
Error was: cannot import name BaseDatabaseFeatures

关于如何解决此问题的任何建议.

Any suggestions how to solve this.

推荐答案

根据 查看全文

相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆