docs(tutorial): add missing permission import in viewsets

This commit is contained in:
Max Wittig 2019-07-29 14:20:11 +02:00 committed by GitHub
parent 0e1c5d3132
commit ed7f3c55f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):
"""