django-debug-toolbar/django-debug-toolbar — pull request #275 by ajostergaard (2012-04-07 08:45:07+00:00)
Title: Disable debug-toolbar middleware completely when DEBUG not True

Minor efficiency gain.