In the below code both (request and response) logs are called after self.get_response
I want to see the request logging first and then the some logging in my views and then the reponse logging.
This is a bit of confusion.
def __call__(self, request):
self.cached_request_body = request.body
response = self.get_response(request)
self.process_request(request,response)
self.process_response(request, response)
return response
In the below code both
(request and response)logs are called afterself.get_responseI want to see the request logging first and then the some logging in my views and then the reponse logging.
This is a bit of confusion.