Ack. Use unicode not str in modelresource

parent 09a8b962
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment