mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-25 23:50:01 +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):
|
||||
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'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user