Skip to content

Commit 3f8ab53

Browse files
authored
docs: add missing renderer import in tutorial 6 (#8885)
1 parent 15c613a commit 3f8ab53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorial/6-viewsets-and-routers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Here we've used the `ReadOnlyModelViewSet` class to automatically provide the de
2727
Next we're going to replace the `SnippetList`, `SnippetDetail` and `SnippetHighlight` view classes. We can remove the three views, and again replace them with a single class.
2828

2929
from rest_framework import permissions
30+
from rest_framework import renderers
3031
from rest_framework.decorators import action
3132
from rest_framework.response import Response
3233

0 commit comments

Comments
 (0)