Skip to content

Commit f22efdc

Browse files
committed
Merge pull request #1011 from coderigo/docs
Fix Tutorial5 serializers.py typo
2 parents 0e8a01e + 3a898a1 commit f22efdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/5-relationships-and-hyperlinked-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ We can easily re-write our existing serializers to use hyperlinking.
8080
highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html')
8181

8282
class Meta:
83-
model = models.Snippet
83+
model = Snippet
8484
fields = ('url', 'highlight', 'owner',
8585
'title', 'code', 'linenos', 'language', 'style')
8686

0 commit comments

Comments
 (0)