How to control representation of relation inside a serializer in DRF?
<p>I have several serializers with related fields or serializers as fields, but with the default configuration of Django Rest Framework, either everything is dumped, or only the ID, or a URL.</p>

<p>I want to be able to control the verbosity of the representation a bit more:</p>

<ul>
<li>sometime I want just the ID or my related field;</li>
<li>sometime I want the full object dump.</li>
<li>I may want the ID in ouput, and the dump in output.</li>
</ul>

<p>Right now I have to serialize everything manually because I can't find a quick and easy way to tell DRF, hey, here just do this.</p>

<p>Is there such a way ?</p>