aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Groß2013-07-27 03:45:35 -0700
committerStephan Groß2013-07-27 03:45:35 -0700
commitf22efdc40f9902713889955d38266db9c9b0575b (patch)
tree8671e65fc3202fe22320ad774538fa0057d51f84
parent0e8a01e5de73507ab84693f594c8e78826cf6a8f (diff)
parent3a898a11f7683f0f5448ce4d28af212c04befea7 (diff)
downloaddjango-rest-framework-f22efdc40f9902713889955d38266db9c9b0575b.tar.bz2
Merge pull request #1011 from coderigo/docs
Fix Tutorial5 serializers.py typo
-rw-r--r--docs/tutorial/5-relationships-and-hyperlinked-apis.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
index 2e013a94..2cf44bf9 100644
--- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md
+++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
@@ -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')