-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Djongo itself is not compatible with its dependencies #670
Comments
same bug TAT |
#585 issue fix this
|
Yes, it can be fixed like that, |
I double-checked the code in the master branch with the package I was using on my local computer (considering that I used |
I'm also geting the same error "NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None". Unable to use makemigrations and use the package. Is the only fix to rollback pymango to version 3.12.1? |
I think for now it is the best solution, but if you are able to understand the code you can also change the code of the base module where it raises the error, and instead of doing |
Issue is still here after 1 years. |
Djongo does not work with its own dependency!
The problem is that the bool magic method was not implemented in the latest pymongo ( I don't exactly know from which version of pymongo, this have changed ) and now when the djongo wants to check the exist of the database connection it will raises an error, the problem solved when I removed pymongo 4 and start using pymongo 3.12 but the djongo will install the latest pymongo as its dependency which does not work.
When I just executed:
Traceback
The text was updated successfully, but these errors were encountered: