mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-24 23:19:47 +03:00
Update docs/tutorial/6-viewsets-and-routers.md
This commit is contained in:
parent
d5f16c487d
commit
d82bbe6501
|
@ -1,6 +1,6 @@
|
|||
# Tutorial 6: ViewSets & Routers
|
||||
|
||||
REST framework includes an abstraction for dealing with view sets, that allows the developer to concentrate on modeling the state and interactions of the API, and leave the URL construction to be handled automatically, based on common conventions.
|
||||
REST framework includes an abstraction for dealing with `ViewSets`, that allows the developer to concentrate on modeling the state and interactions of the API, and leave the URL construction to be handled automatically, based on common conventions.
|
||||
|
||||
`ViewSet` classes are almost the same thing as `View` classes, except that they provide operations such as `retrieve`, or `update`, and not method handlers such as `get` or `put`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user