Merge pull request #1011 from coderigo/docs

Fix Tutorial5 serializers.py typo
This commit is contained in:
Stephan Groß 2013-07-27 03:45:35 -07:00
commit f22efdc40f

View File

@ -80,7 +80,7 @@ We can easily re-write our existing serializers to use hyperlinking.
highlight = serializers.HyperlinkedIdentityField(view_name='snippet-highlight', format='html')
class Meta:
model = models.Snippet
model = Snippet
fields = ('url', 'highlight', 'owner',
'title', 'code', 'linenos', 'language', 'style')