[Answered ]-DjangoRestFramework – Loading specific columns, and saving an entire object

2👍

You can set write_only attribute of fields to True and this will solve exactly your problem. Write only fields will not show on the response but will accept your posted data.

class ListSerializer (serializers.HyperlinkedModelSerializer):
    title = serializers.CharField(write_only=True)

Leave a comment