(self)
return {
            'request': self.request,
            'format': self.format_kwarg,
            'view': self
        }
Extra context provided to the serializer class.
Extra context provided to the serializer class.
Extra context provided to the serializer class .
def get_serializer_context(self):
        """
        Extra context provided to the serializer class.
        """
        return {
            'request': self.request,
            'format': self.format_kwarg,
            'view': self
        }
def get_serializer_context ( self ) : return { 'request' : self . request , 'format' : self . format_kwarg , 'view' : self }