mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
Merge 62c7326b77
into aef7ac72cc
This commit is contained in:
commit
8a3c31d911
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user