class QuestionSerializer(serializers.Serializer):

    def __init__(self, *args, **kwargs):
        remove_fields = kwargs.pop('remove_fields', None)
Dynamically exclude or include a field in Django REST framework serializer