Skip to content

Commit f77ae15

Browse files
Merge pull request #876 from atarzwell/master
Incorrect import in Tutorial - Step 6 - ViewSets
2 parents aef7ac7 + 62c7326 commit f77ae15

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
@@ -59,7 +59,7 @@ To see what's going on under the hood let's first explicitly create a set of vie
5959

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

62-
from snippets.resources import SnippetResource, UserResource
62+
from snippets.views import SnippetViewSet, UserViewSet
6363

6464
snippet_list = SnippetViewSet.as_view({
6565
'get': 'list',

0 commit comments

Comments
 (0)