diff options
| -rw-r--r-- | docs/tutorial/5-relationships-and-hyperlinked-apis.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md index 58422929..57e3b6c5 100644 --- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md +++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md @@ -85,7 +85,7 @@ We can easily re-write our existing serializers to use hyperlinking. In your `sn      class UserSerializer(serializers.HyperlinkedModelSerializer): -        snippets = serializers.HyperlinkedRelatedField(many=True, view_name='snippet-detail') +        snippets = serializers.HyperlinkedRelatedField(many=True, view_name='snippet-detail', read_only=True)          class Meta:              model = User | 
