Ack. Use unicode not str in modelresource

This commit is contained in:
tom christie tom@tomchristie.com 2011-03-03 08:56:26 +00:00
parent 09a8b9627a
commit aad7eacce6

View File

@ -124,7 +124,7 @@ class ModelResource(Resource, ModelFormValidatorMixin):
if inspect.ismethod(f) and len(inspect.getargspec(f)[0]) == 1:
ret = _any(f())
else:
ret = str(thing) # TRC TODO: Change this back!
ret = unicode(thing) # TRC TODO: Change this back!
return ret