MongoEngine/mongoengine — pull request #737 by wcdolphin (2014-08-15 06:31:27+00:00)
Title: Make 'db' argument to connection optional

Why is the db argument required?

I expected it to default to 'test', allowing a no-argument constructor to provide similar behavior across the MongoDB supplied client implementations that I have used (the mongo shell, the Java driver, the Ruby driver and the PHP driver).

I have made the argument optional, and was even able to keep backwards compatibility.