mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Fix doc typo in UserViewSet example
This commit is contained in:
parent
2a38aa7291
commit
b0201bcfbf
|
@ -65,7 +65,7 @@ Both of these come with a trade-off. Using regular views and URL confs is more
|
|||
|
||||
The default routers included with REST framework will provide routes for a standard set of create/retrieve/update/destroy style operations, as shown below:
|
||||
|
||||
class UserViewSet(viewsets.VietSet):
|
||||
class UserViewSet(viewsets.ViewSet):
|
||||
"""
|
||||
Example empty viewset demonstrating the standard
|
||||
actions that will be handled by a router class.
|
||||
|
|
Loading…
Reference in New Issue
Block a user