mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 00:19:53 +03:00
Added missing bracket in docs
This commit is contained in:
parent
5e3140a435
commit
472ca5b716
|
@ -227,7 +227,7 @@ For example:
|
||||||
|
|
||||||
class ListUsers(APIView):
|
class ListUsers(APIView):
|
||||||
async def get(self, request):
|
async def get(self, request):
|
||||||
return Response("message": "This is an async class based view."})
|
return Response({"message": "This is an async class based view."})
|
||||||
|
|
||||||
|
|
||||||
@api_view(['GET'])
|
@api_view(['GET'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user