A port of Rob Hudson's django-debug-toolbar