Skip to content

Conversation

@aaugustin
Copy link
Contributor

This pull request eliminates entirely the overhead of disabled panels.

@aaugustin
Copy link
Contributor Author

Another nice side-effect of this pull request is that it (almost) eliminates import-time monkey-patching.

This makes it safe to import the debug toolbar in any Python module.

@aaugustin
Copy link
Contributor Author

I don't know why the tests failed on Travis. They pass locally.

aaugustin added a commit that referenced this pull request Nov 10, 2013
…sabled-panels

Disable instrumentation for disabled panels
@aaugustin aaugustin merged commit d889bf2 into django-commons:master Nov 10, 2013
@aaugustin aaugustin deleted the disable-instrumentation-for-disabled-panels branch November 10, 2013 17:58
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
…ntation-for-disabled-panels

Disable instrumentation for disabled panels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant