Merge pull request #876 from atarzwell/master

Incorrect import in Tutorial - Step 6 - ViewSets
This commit is contained in:
Tom Christie 2013-05-21 00:18:34 -07:00
commit f77ae156f9

View File

@ -59,7 +59,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.resources import SnippetResource, UserResource
from snippets.views import SnippetViewSet, UserViewSet
snippet_list = SnippetViewSet.as_view({
'get': 'list',