Added missing bracket in docs

This commit is contained in:
enrico 2022-09-01 09:19:22 +08:00
parent 5e3140a435
commit 472ca5b716

View File

@ -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'])