django-debug-toolbar/django-debug-toolbar — pull request #291 by valsteen (2012-06-21 14:45:46+00:00)
Title: prevent crash due to SQLDebugPanel when transaction is in error state

fix for https://github.com/django-debug-toolbar/django-debug-toolbar/issues/230

if isolation_level is looked up while transaction is in an error state, an exception is thrown, which eats up the original exception that is never shown