class FavoriteListSerializer(serializers.ModelSerializer):
    owner = serializers.IntegerField(required=False)


class Meta:
    model = models.FavoriteList
Django REST Framework serializer field required=false