django-request icon indicating copy to clipboard operation
django-request copied to clipboard

Add support for request time in Request Model

Open iamshivam007 opened this issue 7 years ago • 2 comments

Currently Request model store information only related to Response of URL but it will be good if we can store the time, taken by request also. It will help in analyzing the time taken by different endpoints.

Example: If a endpoints is taking 2 secs but after some modification it is taking 5 seconds. If we can see this time on traffic module then we can work on optimization.

iamshivam007 avatar Jun 13 '18 16:06 iamshivam007

Yes, this is an obvious feature that should be added, it will require modifying the middleware to not use the depreciated MiddlewareMixin. I will submit a PR for this soon. I need this feature added sooner rather than later, if it doesn't get merged I'll be forced to Fork

JordanHyatt avatar Nov 24 '23 15:11 JordanHyatt

Pull Request #270

JordanHyatt avatar Nov 24 '23 16:11 JordanHyatt