Changes between Initial Version and Version 1 of Ticket #25704


Ignore:
Timestamp:
Nov 7, 2015, 1:29:51 PM (8 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 UnreviewedAccepted
  • 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