Commit f22efdc4 by Stephan Groß

Merge pull request #1011 from coderigo/docs

Fix Tutorial5 serializers.py typo
parents 0e8a01e5 3a898a11
...@@ -80,7 +80,7 @@ We can easily re-write our existing serializers to use hyperlinking. ...@@ -80,7 +80,7 @@ We can easily re-write our existing serializers to use hyperlinking.
highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html') highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html')
class Meta: class Meta:
model = models.Snippet model = Snippet
fields = ('url', 'highlight', 'owner', fields = ('url', 'highlight', 'owner',
'title', 'code', 'linenos', 'language', 'style') 'title', 'code', 'linenos', 'language', 'style')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment