8000 Update Tutorial - Relationships & Hyperlinked APIs (#7950) · coderanger/django-rest-framework@cdd53c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdd53c7

Browse files
Update Tutorial - Relationships & Hyperlinked APIs (encode#7950)
unnecessary import, because it is already added in the previous section
1 parent e95e91c commit cdd53c7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/tutorial/5-relationships-and-hyperlinked-apis.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ The other thing we need to consider when creating the code highlight view is tha
3131
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.py` add:
3232

3333
from rest_framework import renderers
34-
from rest_framework.response import Response
3534

3635
class SnippetHighlight(generics.GenericAPIView):
3736
queryset = Snippet.objects.all()

0 commit comments

Comments
 (0)
0