Skip to content

Commit

Permalink
few todos for reminders, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
dhatch committed Jul 5, 2011
1 parent ed6b9f2 commit 15cb175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tastypie/fields.py
Expand Up @@ -549,6 +549,7 @@ def build_related_resource(self, value, request=None):
except ObjectDoesNotExist: except ObjectDoesNotExist:
raise ApiFieldError("Could not find the provided object via resource URI '%s'." % value) raise ApiFieldError("Could not find the provided object via resource URI '%s'." % value)
elif hasattr(value, 'items'): elif hasattr(value, 'items'):
# TODO this likely still does not work
# Try to hydrate the data provided. # Try to hydrate the data provided.
value = dict_strip_unicode_keys(value) value = dict_strip_unicode_keys(value)
self.fk_bundle = self.fk_resource.build_bundle(data=value, request=request) self.fk_bundle = self.fk_resource.build_bundle(data=value, request=request)
Expand Down

0 comments on commit 15cb175

Please sign in to comment.