[Answer]-How to get TastyPie fields.foreignkey to only return certain fields as apposed to resource uri or full object

1👍

What’s wrong with bundle.data['user'] = "%s %s" % (user.first_name, user.last_name)?

You could also check out this base class that I wrote. With it you can specify what fields to fetch:

https://github.com/dan-klasson/django-tastypie-specified-fields

Leave a comment