This commit is contained in:
Andrew Tarzwell 2013-05-20 13:50:32 -07:00
commit 8a3c31d911

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. 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({ snippet_list = SnippetViewSet.as_view({
'get': 'list', 'get': 'list',