Skip to content

Commit 918b9cc

Browse files
committed
Added missing import in tutorial snippet
1 parent 5cad60d commit 918b9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/6-viewsets-and-routers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To see what's going on under the hood let's first explicitly create a set of vie
6060

6161
In the `urls.py` file we bind our `ViewSet` classes into a set of concrete views.
6262

63-
from snippets.views import SnippetViewSet, UserViewSet
63+
from snippets.views import SnippetViewSet, UserViewSet, api_root
6464
from rest_framework import renderers
6565

6666
snippet_list = SnippetViewSet.as_view({

0 commit comments

Comments
 (0)