toastdriven/django-tastypie — Issue #355: ToOneField does not allow support a callable 'attribute'
Author: pennersr
Created: 2012-02-06 19:28:05+00:00
State: open

ToManyField supports passing a callable as 'attribute' parameter, ToOneField unexpectedly does not.

Compare:
https://github.com/toastdriven/django-tastypie/blob/master/tastypie/fields.py#L621
to:
https://github.com/toastdriven/django-tastypie/blob/master/tastypie/fields.py#L689