Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added missing import in tutorial snippet
  • Loading branch information
LuRsT committed Nov 24, 2014
commit 918b9cc6a605ee4701d77f73e93a62f04c2345b0
2 changes: 1 addition & 1 deletion docs/tutorial/6-viewsets-and-routers.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ To see what's going on under the hood let's first explicitly create a set of vie

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

from snippets.views import SnippetViewSet, UserViewSet
from snippets.views import SnippetViewSet, UserViewSet, api_root
from rest_framework import renderers

snippet_list = SnippetViewSet.as_view({
Expand Down