From 3f8ab538c1a7e6f887af9fec41847e2d67ff674f Mon Sep 17 00:00:00 2001 From: Jayant <39442192+RoguedBear@users.noreply.github.com> Date: Sun, 26 Feb 2023 18:06:48 +0000 Subject: [PATCH] docs: add missing renderer import in tutorial 6 (#8885) --- docs/tutorial/6-viewsets-and-routers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorial/6-viewsets-and-routers.md b/docs/tutorial/6-viewsets-and-routers.md index 74789e337..f9b6c5e9a 100644 --- a/docs/tutorial/6-viewsets-and-routers.md +++ b/docs/tutorial/6-viewsets-and-routers.md @@ -27,6 +27,7 @@ Here we've used the `ReadOnlyModelViewSet` class to automatically provide the de 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. from rest_framework import permissions + from rest_framework import renderers from rest_framework.decorators import action from rest_framework.response import Response