Closed Amorano closed 10 years ago
Hello, the master branch contains now your (slightly modified) patch. Please, test this configuration for me, I do not have any mongo with auth setup running (an Im wee bit lazy to do so...).
Edit: btw. Thank you very much for this effort!
Working great here. Thanks!
I could not get my connections to work and then noticed that there is no authenticate operation even if you supply a proper MONGO_USERNAME and MONGO_PASSWORD variable.
I traced the connection to the class MongoengineDataLayer and re-wrote the start of the init to the following:
def init(self, ext): """ Constructor.
This now accounts for a passed username and password, and does connect if proper.
I would submit a patch/pull, except I dont work in indents with spacing (SCiTE autoscript saves them as TABS) so on a save it blew the diff out to every line.
HTH