Commit Graph

11 Commits

Author SHA1 Message Date
Joe Shaw 6f6b1cb47d add DEBUG_TB_ENABLED setting which overrides app.debug check 2012-01-30 23:41:43 -05:00
Matt Good 1c8465cdd9 Minor style update (trailing whitespace and "if len()") 2012-01-04 08:49:25 -08:00
Matt Good f59705a7e7 Merge commit 'd886f5a606f26d78df457e7041c5666e0e5bbc6d' 2012-01-04 08:42:21 -08:00
Matt Good ea45d9a185 Disable panels that cannot be imported.
Fixes #3
2012-01-02 13:33:25 -08:00
Matt Good 0e5fab9436 Restore calling process_view().
Puts back the monkey-patch of dispatch_request() with fixes for calling
self.foo() instead of app.foo() and uncommenting the process_view()
call.
2012-01-02 13:07:18 -08:00
Michael van Tellingen 60a9b4f6b0 Add a notice that the process_view() method is not called 2011-12-29 16:57:13 +01:00
Matt Good 528a7dfc83 Only process html responses
It tried to modify all responses, which added junk to the end of
non-html pages, and would cause errors trying to decode images as utf8.
2011-12-19 15:55:47 -08:00
Matt Good 0f64fdc715 Remove broken monkey-patch for dispatch_request
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.
2011-12-19 15:53:53 -08:00
Matt Good 7d637cc489 Fix errors in process_response on static files
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.
2011-12-16 13:53:06 -08:00
Matt Good 6d60a95653 Fix SQLAlchemy panel looking up the engine 2011-12-16 12:02:05 -08:00
Michael van Tellingen 1c594b9ba3 Attempt to fix the flask-debugtoolbar:
- 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
2011-10-17 21:27:51 +02:00