MongoEngine/mongoengine — pull request #5 by gregbanks (2012-04-12 00:18:52+00:00)
Title: fix for #473

Convert col to document name so that it can be looked up in _document_registry when doc_type is None.

Not sure if this is ideal, but it seems to work. I also added a unit test that exercises the test case I mentioned in the relevant issue thread.