mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fixed minor typo on viewsets.md
I'm not sure how the contribution policy for the docs is, but I thought it'd be faster to issue a pull request than reaching out to you guys/creating an issue for something so simple. Hope it's not a problem :)
This commit is contained in:
parent
5524339e0e
commit
deb2c9eb87
|
@ -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