I'm facing a problem. Our requirement is we cannot use pagination so we need all records at a time in Response.
my function like this:
from rest_framework.response import Response
class TestingViewsAPI(APIView):
def get(self, request):
data_list = [{}....................] #50k list of dict
return Response({
"Data": {
"data": data_list,
}
})
When doing this then my system hang how i can handle this? I need expert guidelines I don't use pagination