The code is just copied from Flask.dispatch_request.
There were a few references to "self" that should have been "app"
here, but it's not overriding anything now, so just take it out.
Need to use the real request object for the map,
not the context-local wrapper object. The context-local
wrapper is the same object, so it would call
process_response on every request regardless of the
_show_toolbar() result.
- Rename the package to flask_debugtoolbar
- Fix importing of the panels so that the views in the panels are correctly registered in the blueprint
There is still one major problem in the sqlalchemy panel where we are not able to get the SQLAlchemy reference