hmarr/mongoengine — pull request #439 by kajic (2012-02-23 23:11:03+00:00)
Title: register_connection bugfix

uri_dict will have the 'database' key even if the database wasn't present in the uri. We must check it's value as well.