From 5f0532a0919177e1157b02a40cffe816e6e1e57e Mon Sep 17 00:00:00 2001
From: Tom Christie
Date: Thu, 11 Dec 2014 09:55:10 +0000
Subject: Update documentation
---
 tutorial/5-relationships-and-hyperlinked-apis/index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'tutorial/5-relationships-and-hyperlinked-apis/index.html')
diff --git a/tutorial/5-relationships-and-hyperlinked-apis/index.html b/tutorial/5-relationships-and-hyperlinked-apis/index.html
index 5742c884..51a66e92 100644
--- a/tutorial/5-relationships-and-hyperlinked-apis/index.html
+++ b/tutorial/5-relationships-and-hyperlinked-apis/index.html
@@ -457,7 +457,7 @@ We'll add a url pattern for our new API root in snippets/urls.py:
 
 
 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
@@ -537,6 +537,7 @@ urlpatterns += [
   
   
   
+