drf_tweaks
drf_tweaks copied to clipboard
Exclude fields
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.