toastdriven/django-tastypie — pull request #411 by dgerzo (2012-03-20 16:42:09+00:00)
Title: Teach ApiField.build_related_resource()  about a case when value is instance of Bundle

...eturn

regular Bundle object (see line 168).

In such case, the ApiField.build_related_resource() may obtain a regular Bundle as
a value argument and it would fail with ApiFieldError even though there was a valid data.

As such, teach ApiField.build_related_resource() about Bundle instances.