aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/5-relationships-and-hyperlinked-apis.md
diff options
context:
space:
mode:
authorTom Christie2014-11-20 11:51:42 +0000
committerTom Christie2014-11-20 11:51:42 +0000
commit096c58b784faee6b3c71201ad8b2708f7ccd5f7f (patch)
treea03ce1bb5c884a08ec2bc7aec48655c8196837c7 /docs/tutorial/5-relationships-and-hyperlinked-apis.md
parentbc83dfece460b6639d915bd8fb42b3701cd91172 (diff)
parent37312eed216d6f8a048a32c7ae7e0cd248528550 (diff)
downloaddjango-rest-framework-096c58b784faee6b3c71201ad8b2708f7ccd5f7f.tar.bz2
Merge branch 'master' into 3.0-beta
Diffstat (limited to 'docs/tutorial/5-relationships-and-hyperlinked-apis.md')
-rw-r--r--docs/tutorial/5-relationships-and-hyperlinked-apis.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
index 36473ce9..50552616 100644
--- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md
+++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md
@@ -6,7 +6,6 @@ At the moment relationships within our API are represented by using primary keys
Right now we have endpoints for 'snippets' and 'users', but we don't have a single entry point to our API. To create one, we'll use a regular function-based view and the `@api_view` decorator we introduced earlier. In your `snippets/views.py` add:
- from rest_framework import renderers
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.reverse import reverse