diff options
Diffstat (limited to 'djangorestframework/modelresource.py')
| -rw-r--r-- | djangorestframework/modelresource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/modelresource.py b/djangorestframework/modelresource.py index a9605d4a..2b0e719c 100644 --- a/djangorestframework/modelresource.py +++ b/djangorestframework/modelresource.py @@ -121,7 +121,7 @@ class ModelResource(Resource): 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 |
