Closed rslinckx closed 13 years ago
Because the Document class is mangled during the init_app, if I create 2 MongoAlchemy instances, one of them will no longer work properly because it's attached to the wrong session.
Thanks for your feedback, I hope to fix it next weekend.
I've just tagged 0.5, fixing this bug.
Please take another look:
$ [sudo] pip install flask-mongoalchemy==0.5
Because the Document class is mangled during the init_app, if I create 2 MongoAlchemy instances, one of them will no longer work properly because it's attached to the wrong session.