Changes between Initial Version and Version 1 of Ticket #25704


Ignore:
Timestamp:
11/07/2015 01:29:51 PM (6 years ago)
Author:
Simon Charette
Comment:

I'm not sure this should be part of the actual output of runserver but it would make sense to at least provide it as a kwarg to the logger calls to allow third party and users to refer to it in a formater or filter.

e.g. one could write a formatter that turns the text bold if request take more than X ms to complete.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25704

    • Property Triage Stage changed from Unreviewed to Accepted
  • Ticket #25704 – Description

    initial v1  
    1 It's often useful to know how much time it takes for `runserver` to respond without setting up a middleware or using the debug toolbar. Currently, one could monkeypatch WSGIRequestHandler (e.g. in `manage.py`) in order to get the time:
     1It's often useful to know how much time it takes for `runserver` to respond without setting up a middleware or using the debug toolbar. Currently, one could monkeypatch WSGIRequestHandler (e.g. in `manage.py`) in order to get the time:
    22
    33{{{
Back to Top