andymckay/django-statsd — Issue #3: SQL patch fails to load with debug_toolbar
Author: acdha
Created: 2012-02-14 18:48:25+00:00
State: open

The db patch expects debug_toolbar.panels.sql to have a DatabaseStatTracker class but at least with 0.9.4 this is not the case and I get an AttributeError when django_statsd attempts to patch the sql panel:

https://github.com/andymckay/django-statsd/blob/master/django_statsd/patches/db.py#L52

```util.CursorDebugWrapper = wrap_class(sql.DatabaseStatTracker)```