[Answered ]-Returning non-predefined fields via. API with Tastypie in Django

2👍

You can use the dehydrade method. Simply add a new key to bundle.data.

def dehydrate(self, bundle):
    for item in bundle.obj.iteritems():
        bundle.data["new_key"] = "new_value"
    return bundle

Leave a comment