Open marvellous10 opened 1 year ago
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 :(
So what can i use, i need what mongodb offers, i later downgraded but it's giving issues but I'm working around that
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