custom serializer Field, ListSerializer, and current instance?

2016-09-20 Thread Christian Sauer
I'm building a couple of custom serializer Fields and I need access to the whole instance to make a decision on what to return. If the serializer represents a single object, the field can use "self.parent.instance" to get the whole thing and everything works great. When the parent is ListSer

Tutorial workflow or approach

2016-09-20 Thread Mehmet Dogan
Hello all, I am trying to get my feet wet with the DRF and felt the urge to provide a piece of feedback. I found the quickstart pretty helpful, but the 7-step tutorial threw me off. Although I appreciated it more at my 2nd attempt, I still find its flow counter intuitive. It goes from more deta