aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authornimiq2014-08-06 12:45:58 +0200
committernimiq2014-08-06 12:45:58 +0200
commit62d0d4e5d2f203d2c1694af363bce88cc1a5d483 (patch)
tree91693837b16dfa57d81cbe37f1d810f75c4e0760 /docs
parent0ae55902eeee3339fa42b48b97b675b5541b64c0 (diff)
downloaddjango-rest-framework-62d0d4e5d2f203d2c1694af363bce88cc1a5d483.tar.bz2
Fix style for some text
Diffstat (limited to 'docs')
-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 2cf44bf9..aef92d08 100644
--- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md
+++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
@@ -29,7 +29,7 @@ Unlike all our other API endpoints, we don't want to use JSON, but instead just
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:
+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:
from rest_framework import renderers
from rest_framework.response import Response