You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None. This is when i use the pymongo latest version (4.4.0), downgrading to 3.12.3 works fine but it doesn't support NULL and CONSTRAINT completely.
Traceback
raise NotImplementedError(
NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None
The text was updated successfully, but these errors were encountered:
this is because the djongo package itself only supports django 3
When using mongodb, you lose ORM functionality with django, so admin panel no longer is usable, and automatic migrations are no longer able to be used, in short, dont use mongodb with django :(
NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None. This is when i use the pymongo latest version (4.4.0), downgrading to 3.12.3 works fine but it doesn't support NULL and CONSTRAINT completely.
Traceback
raise NotImplementedError(
NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None
The text was updated successfully, but these errors were encountered: