Skip to content

Commit ed7f3c5

Browse files
authored
docs(tutorial): add missing permission import in viewsets
1 parent 0e1c5d3 commit ed7f3c5

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)