mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Merge pull request #2117 from LuRsT/patch-6
Added missing import in tutorial snippet
This commit is contained in:
commit
eb77de4bdd
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user