mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 00:19:53 +03:00
Update docs/tutorial/6-viewsets-and-routers.md
This commit is contained in:
parent
332a3bf913
commit
dc3f6ef34d
|
@ -33,7 +33,7 @@ Next we're going to replace the `SnippetList`, `SnippetDetail` and `SnippetHighl
|
||||||
|
|
||||||
class SnippetViewSet(viewsets.ModelViewSet):
|
class SnippetViewSet(viewsets.ModelViewSet):
|
||||||
"""
|
"""
|
||||||
This view set automatically provides `list`, `create`, `retrieve`,
|
This ViewSet automatically provides `list`, `create`, `retrieve`,
|
||||||
`update` and `destroy` actions.
|
`update` and `destroy` actions.
|
||||||
|
|
||||||
Additionally we also provide an extra `highlight` action.
|
Additionally we also provide an extra `highlight` action.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user