hmarr/mongoengine — pull request #522 by aparajita (2012-06-22 02:00:22+00:00)
Title: unicode fixes

If the value of a StringField is already unicode, StringField.to_python() fails.

This patch fixes conversion of StringField value to unicode, and updates an outdated (str, unicode) check.