WoLpH/django-statsd — pull request #7 by db48x (2014-07-28 18:55:58+00:00)
Title: fix errors related to timers not started/not stopped

I get a lot of requests that generate an error report saying that a timer wasn't started, or wasn't stopped. This is apparently because the two middleware classes don't start/stop the same set of timers.

Also, I changed them to use TRACK_MIDDLEWARE comprehensively. Before it was an error to set this to False, because not all of the timers were guarded. This should have been a separate commit, but I got lazy and didn't separate it out.