Merge pull request #2117 from LuRsT/patch-6

Added missing import in tutorial snippet
This commit is contained in:
Xavier Ordoquy 2014-11-24 10:08:49 +01:00
commit eb77de4bdd

View File

@ -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({