aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/modelresource.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/modelresource.py')
-rw-r--r--djangorestframework/modelresource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/modelresource.py b/djangorestframework/modelresource.py
index 0b06dacb..55a15d6a 100644
--- a/djangorestframework/modelresource.py
+++ b/djangorestframework/modelresource.py
@@ -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