aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-10-31 04:02:50 -0700
committerTom Christie2012-10-31 04:02:50 -0700
commit3a99170a7300b2212dbb5aa91c7a7262d7425e98 (patch)
treea4b202c39ab10b6c45be36601853c0b0d6f9b41b
parent4b2139c91ad9e52a6b2ddf8258652ec9a42ea3d2 (diff)
parentde2ef5d9c24171eb6b945b7822eac809c099fec9 (diff)
downloaddjango-rest-framework-3a99170a7300b2212dbb5aa91c7a7262d7425e98.tar.bz2
Merge pull request #345 from minddust/master
minor docs fix
-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 a666ad82..3113249b 100644
--- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md
+++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
@@ -27,7 +27,7 @@ The other obvious thing that's still missing from our pastebin API is the code h
Unlike all our other API endpoints, we don't want to use JSON, but instead just present an HTML representation. There are two style of HTML renderer provided by REST framework, one for dealing with HTML rendered using templates, the other for dealing with pre-rendered HTML. The second renderer is the one we'd like to use for this endpoint.
-The other thing we need to consider when creating the code highlight view is that there's no existing concreate generic view that we can use. We're not returning an object instance, but instead a property of an object instance.
+The other thing we need to consider when creating the code highlight view is that there's no existing concrete generic view that we can use. We're not returning an object instance, but instead a property of an object instance.
Instead of using a concrete generic view, we'll use the base class for representing instances, and create our own `.get()` method. In your snippets.views add: