CollectionMemberSerializer: change the user field to be read only.

master
Tom Hacohen 5 years ago
parent 41a03e9d3b
commit 9ea01d4d93

@ -255,7 +255,7 @@ class CollectionMemberSerializer(serializers.ModelSerializer):
username = serializers.SlugRelatedField(
source='user',
slug_field=User.USERNAME_FIELD,
queryset=User.objects
read_only=True,
)
class Meta:

Loading…
Cancel
Save