2👍
✅
When writing this I found the related question How do I load sub-models with a foreign key relationship in Backbone.js?
Since I’d already written the question I figured I may as well post it in case it’s useful for anyone.
The answer was as simple as adding full=True
to my tastypie
resources. I could then get rid of the addTags
and addAuthor
functions and since I don’t need to save or update the related objects the rest of the answer in the above thread wasn’t necessary for me.
Source:stackexchange.com