mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-21 14:05:16 +03:00
Merge pull request #3043 from accordeiro/accordeiro/docs-typo-fix
Fixed minor typo on viewsets.md
This commit is contained in:
commit
e368986fcf
|
@ -27,7 +27,7 @@ Let's define a simple viewset that can be used to list or retrieve all the users
|
||||||
|
|
||||||
class UserViewSet(viewsets.ViewSet):
|
class UserViewSet(viewsets.ViewSet):
|
||||||
"""
|
"""
|
||||||
A simple ViewSet that for listing or retrieving users.
|
A simple ViewSet for listing or retrieving users.
|
||||||
"""
|
"""
|
||||||
def list(self, request):
|
def list(self, request):
|
||||||
queryset = User.objects.all()
|
queryset = User.objects.all()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user