toastdriven/django-tastypie — Issue #293: docs are wrong on the type of return value of hydrate_FOO
Author: dgerzo
Created: 2011-11-18 13:30:12+00:00
State: open

As per docs, the hydrate_FOO should return something that will be put to budne.obj:
http://django-tastypie.readthedocs.org/en/latest/resources.html#hydrate-foo

"The return value is put in the bundle.obj attribute for that fieldname."

But hydrate_FOO should actually modify the bundle.obj itself and return a bundle -- at least that's what currently happens in the code.