diff options
| author | Tom Christie | 2011-05-10 12:59:13 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-05-10 12:59:13 +0100 |
| commit | a2575c1191104df024b41c58825b9a24d4c4ae2d (patch) | |
| tree | 738b0911d77d4344b61b2bfb525ab1ce7a615a4d /djangorestframework/resource.py | |
| parent | cc4c9a9518bda227df78e511242172773358c95c (diff) | |
| download | django-rest-framework-a2575c1191104df024b41c58825b9a24d4c4ae2d.tar.bz2 | |
Bits of cleanup
Diffstat (limited to 'djangorestframework/resource.py')
| -rw-r--r-- | djangorestframework/resource.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/djangorestframework/resource.py b/djangorestframework/resource.py index 04442498..6b039059 100644 --- a/djangorestframework/resource.py +++ b/djangorestframework/resource.py @@ -6,6 +6,7 @@ import decimal import inspect import re +# TODO: Replace this with new Serializer code based on Forms API. class Resource(object): """A Resource determines how an object maps to a serializable entity. @@ -61,7 +62,7 @@ class Resource(object): if inspect.ismethod(f) and len(inspect.getargspec(f)[0]) == 1: ret = _any(f()) else: - ret = unicode(thing) # TRC TODO: Change this back! + ret = unicode(thing) # TRC return ret |
