I have a simple django view which just reads the request and prints it out into the console. Now along with the request body I need to get the start time of the view for a particular session and if after the session has been terminated or there is no request incoming for that particular view for about 1 min, I need to print out a custom string "Device Stopped"
.
Can anyone please help me out to solve this issue. Thanks!