mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +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):
|
||||
"""
|
||||
A simple ViewSet that for listing or retrieving users.
|
||||
A simple ViewSet for listing or retrieving users.
|
||||
"""
|
||||
def list(self, request):
|
||||
queryset = User.objects.all()
|
||||
|
|
Loading…
Reference in New Issue
Block a user