Configuration¶
The following settings.py options are available for customizing DRF Dynamic Serializers’ behaviour.
DRF_DYNAMIC_SERIALIZERS_QUERY_PARAM_INCLUDED_FIELDS: specify the query parameter in which the fields to include are specified. Default:fieldsDRF_DYNAMIC_SERIALIZERS_QUERY_PARAM_EXCLUDED_FIELDS: specify the query parameter in which the fields to exclude are specified. Default:exclude