本文介绍了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.
推荐答案
根据文档.
这篇关于django.core.exceptions.ImproperlyConfigured:'django_mongodb_engine'不是可用的数据库后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!