diff options
| author | Tom Christie | 2014-12-09 19:53:42 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-12-09 19:53:42 +0000 | 
| commit | 182313cbee83d36765e8f5cbc24bef535c4ef190 (patch) | |
| tree | b38b947b8e16aaee2da323b9935bbb35938bc15e /tutorial/5-relationships-and-hyperlinked-apis | |
| parent | a345c321153c964f08beb45c1d299c04d07eb010 (diff) | |
| download | django-rest-framework-182313cbee83d36765e8f5cbc24bef535c4ef190.tar.bz2 | |
Update documentation
Diffstat (limited to 'tutorial/5-relationships-and-hyperlinked-apis')
| -rw-r--r-- | tutorial/5-relationships-and-hyperlinked-apis/index.html | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tutorial/5-relationships-and-hyperlinked-apis/index.html b/tutorial/5-relationships-and-hyperlinked-apis/index.html index 364de40d..4c126bbb 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 <code>snippets/urls.py</code>:</  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 | 
