class MyResource(Resource):

    def dehydrate(self, bundle):
        if bundle.obj.user:
            bundle.data['request_ip'] = bundle.request.META.get('REMOTE_ADDR')
return bundle
Get model object from tastypie uri?