diff --git a/core/serializers.py b/core/serializers.py index ab191ec..fe29a8e 100644 --- a/core/serializers.py +++ b/core/serializers.py @@ -141,6 +141,9 @@ class BoardSerializer(serializers.HyperlinkedModelSerializer): "submitter", ) read_only_fields = ('submitter', 'published') + extra_kwargs = { + 'submitter': {"view_name": "users:user-detail"}, + } pins_detail = PinSerializer(source="pins", many=True, read_only=True) pins = serializers.HyperlinkedRelatedField(