'Convenience method to return the ``detail_uri_name`` attribute off
``bundle.obj``.
Usually just accesses ``bundle.obj.pk`` by default.'

def get_bundle_detail_data(self, bundle):

    return getattr(bundle.obj, self._meta.detail_uri_name, None)
