doableware / djongo

Django and MongoDB database connector
https://www.djongomapper.com
GNU Affero General Public License v3.0
1.86k stars 351 forks source link

django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available database backend or couldn't be imported. Check the above exception. #681

Open PrateekSai opened 9 months ago

PrateekSai commented 9 months ago

I am getting this error while I run the command python manage,py migrate while connecting to mongodb database using djongo django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available database backend or couldn't be imported. Check the above exception. To use one of the built-in backends, use 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3 I have verified my environment is active and djongo is in the list of installed apps

jkhurshed commented 7 months ago

I am getting this error while I run the command python manage,py migrate while connecting to mongodb database using djongo django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available database backend or couldn't be imported. Check the above exception. To use one of the built-in backends, use 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3 I have verified my environment is active and djongo is in the list of installed apps

I'm getting the same error, did you resolve this problem?

comatan96 commented 7 months ago

I am getting this error while I run the command python manage,py migrate while connecting to mongodb database using djongo django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available database backend or couldn't be imported. Check the above exception. To use one of the built-in backends, use 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3 I have verified my environment is active and djongo is in the list of installed apps

I'm getting the same error, did you resolve this problem?

I had this error too, it seems like Djongo is not supported with Django>=4.2 The following version worked for me, but I have problems with migrations now:

Django==4.1.13
pymongo==3.12.3
dnspython
djongo==1.3.6
SzymKam commented 4 months ago

I also got this problem. You have to add 'djongo' into INSTALLED APPS in settings.py