From ed7f3c55f7647b19ce2358ebce861a0cee8944d5 Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Mon, 29 Jul 2019 14:20:11 +0200 Subject: [PATCH] docs(tutorial): add missing permission import in viewsets --- 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 11e24448f..3719bbf18 100644 --- a/docs/tutorial/6-viewsets-and-routers.md +++ b/docs/tutorial/6-viewsets-and-routers.md @@ -27,6 +27,7 @@ Next we're going to replace the `SnippetList`, `SnippetDetail` and `SnippetHighl from rest_framework.decorators import action from rest_framework.response import Response + from rest_framework import permissions class SnippetViewSet(viewsets.ModelViewSet): """