How to make a field editable on create and read-only on update in Django REST framework
Overwrite the update method in the serializer and remove the field:
class MySerializer(serializers.ModelSerializer):
def update(self, instance, validated_data):
validated_data.pop('myfield', None) # prevent myfield from being updated
return super().update(instance, validated_data)