Hey guys! I've been using a collection of mixins in several (private) projects in the last couple of months/years, and I'd like to finally share them with you.
DRF Deep is basically a serializer mixin that allows to work with nested resources in a very easy way; of course both for reading *and *writing. You just have to tell Deep what fields on a serializer you want to be embedded, so that they are from now on send inline in GET responses, but also properly handled in POST/PUT/PATCH requests. More information, explanation and a tiny example is available here: https://github.com/stschindler/djangorestframework-deep Download via `pip install djangorestframework-deep`. Please be aware that the code has been decoupled from bigger projects, and I wasn't able to decouple everything. Therefore the package currently lacks unit tests and comprehensive documentation. But as it's really easy to use and I'd like to get some feedback, feel free to test it out! Also if you find bugs, please report them — although it's being used in production, this decoupled version is different, so it might contain flaws. Greetings, Stefan -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.