aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial
diff options
context:
space:
mode:
authorTom Christie2013-07-29 09:11:29 +0100
committerTom Christie2013-07-29 09:11:29 +0100
commit6a6b2c93185f43e010e72312b32063052e11e1d8 (patch)
tree71bee25173fc6c93938cae68b2416e957cbb5375 /docs/tutorial
parent5c4bf5309d2e952fb33c27778ff1f1213ebfd5e0 (diff)
parente98c229e5aa86f0da872583c08f353d974d9cc98 (diff)
downloaddjango-rest-framework-6a6b2c93185f43e010e72312b32063052e11e1d8.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/tutorial')
-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')