mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-09 16:13:39 +03:00
Update Typo
This commit is contained in:
parent
aef7ac72cc
commit
62c7326b77
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user