django.core.exceptions.ImproperlyConfigured: 'django_mongodb_engine' isn't an available database backend
14,509
Solution 1
You need django-nonrel
installed as well, as per the documentation.
Solution 2
Try uninstalling 'Pymongo' and install it as 'pip install pymongo' as compared to installing it via an ide
Author by
randomuser
Updated on July 26, 2022Comments
-
randomuser almost 2 years
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.
-
randomuser almost 9 yearstrying this : pip install git+github.com/django-nonrel/[email protected] but nothing is happening after this. Any alternatives to install django-nonrel?
-
Yannis over 6 yearsThis sounds more like a comment and not as an answer to this question. If I am wrong, please edit your answer to clearly demonstrate how this answers the question. Otherwise, please leave it as a comment once you earn enough reputation.
-
Octocat about 4 yearsHi, how did you fix the issue "React app with Django error 'string indices must be integers'"? You seem to have deleted the question on StackOverflow.
-
Admin over 2 yearsYour answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.