hmarr/mongoengine — pull request #533 by tescalada (2012-07-06 19:33:20+00:00)
Title: Bug fix for unicode issues in queryset

replaced the two remaining isinstance(_, str) with basestring
fixes a bug where unicode is being treated like a field.