Skip to content

Commit fdf277a

Browse files
authored
Merge pull request encode#6843 from max-wittig/patch-1
docs(tutorial): add missing permission import in viewsets
2 parents 6a45a6a + ed7f3c5 commit fdf277a

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 @@ Next we're going to replace the `SnippetList`, `SnippetDetail` and `SnippetHighl
2727

2828
from rest_framework.decorators import action
2929
from rest_framework.response import Response
30+
from rest_framework import permissions
3031

3132
class SnippetViewSet(viewsets.ModelViewSet):
3233
"""

0 commit comments

Comments
 (0)