drf_tweaks icon indicating copy to clipboard operation
drf_tweaks copied to clipboard

Exclude fields

Open vovean opened this issue 4 years ago • 0 comments

So we can specify which fields we would like to get from the Serializer by passing "fields": [...]to context But is it possible to specify fields we do not want to get? Sometimes it is easier to specify exclude list of fields instead of include.

vovean avatar May 28 '20 15:05 vovean