Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


How can I create/update multiple nested serializer on the same request?

Doing multiple request per resource?. I'm not sure what is the best approach

1 Answer

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

I'm assuming this is about a Django REST Framework nested serializer? You would either have to have a method on the serializer that does the update based on a list of records you send in or you'd have to update each resource individually.

I think. I haven't done this myself in a long time.