django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend
I'm unable to run django mongo engine properly.
My database entry in settings.py is
DATABASES = {
'default': {
'ENGINE': 'django_mongodb_engine',
'NAME': 'local',
}
}
and my pip freeze result is
Django==1.8.2
django-mongodb-engine==0.5.2
djangotoolbox==1.6.2
pymongo==3.0.2
error while running
python manage.py runserver
is
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.
You need django-nonrel
installed as well, as per the documentation.
Try uninstalling 'Pymongo' and install it as 'pip install pymongo' as compared to installing it via an ide