I am trying to connect Django with MongoDB using Djongo. I have changed the Database parameter but I am getting this error Not Implemented Error: Database objects do not implement truth value testing or bool(). when I am running makemigration command. Please can anybody explain why I am getting this error and how to resolve it? I have include settings.py
Tag: djongo
Django(djongo) can’t connect to MondoDB Atlas after Heroku deployment
I managed to get it working locally (different cluster, separate settings.py), but not after when deployed to Heroku. Heroku – automatically adds DATABASE_URL config var with a postgresql, and I cannot remove/edit it. MongoDB Atlas – I’ve set the MongoDB Atlas cluster to allow IPs from everywhere. And the password has no funny characters. django production settings.py I ran migrate