aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/__init__.py
AgeCommit message (Collapse)Author
2014-03-09Document DISABLE_PANELS.Aymeric Augustin
2014-02-15Changing the collection to be fully qualified names and for it to be a set ↵tschilling
not a tuple.
2014-02-14Deprecating INTERCEPT_REDIRECTS in favor of DEFAULT_DISABLED_PANELS.tschilling
2013-11-29Stop sharing unsafely a context dict across threads.Aymeric Augustin
Panels that need to share data with other panels shall do it through the record_stats / get_stats API. Statistics are automatically pushed to the template context. Fix #450.
2013-11-24Degrade docs because I can't put a flake8 ignore :'(Aymeric Augustin
2013-11-24Clean up and document the Panel API.Aymeric Augustin
2013-11-24Remove unused import.tAymeric Augustin
2013-11-24Removed unneeded Panel.slug attribute.Aymeric Augustin
2013-11-24Rename all panels consistently.Aymeric Augustin
Enforce absolute imports to avoid clashing with built-in package names. Thanks Jannis for his feedback.
2013-11-16Clean up DebugToolbar class, especially panels handling.Aymeric Augustin
2013-11-15Make panels behave more like Django middleware.Aymeric Augustin
2013-11-12Make it possible for panels to provide URLs and views.Aymeric Augustin
Fix #448.
2013-11-10Made enable/disable_instrumentation idempotent.Aymeric Augustin
2013-11-10Disable instrumentation for disabled panels.Aymeric Augustin
This eliminates the performance overhead when a panel is disabled.
2013-11-10Remove Panel.disabled, always use Panel.enabled.Aymeric Augustin
2013-11-10Fix PEP 8 violations.Aymeric Augustin
2013-11-10Load the content of panels dynamically.Aymeric Augustin
This should drastically reduce the overhead of the browser toolbar when a page has a complex template structure or many SQL queries. This change is backwards-incompatible for third-party panels because it changes the signature of __init__. The JavaScript could probably be improved; I'm outside my comfort zone.
2013-11-10Avoid some implicit global lookups.Aymeric Augustin
They made it impossible to preserve panel data after the end of a request.
2013-11-09Remove unused method in panel API.Aymeric Augustin
2013-10-17Enable unicode_literals in all non-empty modules.Aymeric Augustin
2012-01-12pep8David Cramer
2011-09-15The toolbar can't be assigned at init - so grab it each time the method is ↵bkonkle
called
2011-09-15Add a default 'content' method, since the method is now identical on every panelbkonkle
2011-09-15Correct some issues with the stats methodsbkonkle
2011-09-15Added convenience methods to make it easier to work with panel statsbkonkle
2010-01-14Template panel context cleanup.Chris Adams
All panels get a copy of the template context when created and use an updated copy when rendering so they can have full access to context vars and avoid making changes to the shared context. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-08-12added in-panel titleIdan Gazit
2009-08-12renamed title/subtitle -> nav_title/nav_subtitleIdan Gazit
2009-08-11Refactored the UI to be a right hand side vertical toolbar. DebugPanel ↵Rob Hudson
subclass grew a subtitle method to display informative text under the title.
2008-09-21Refactoring middleware and panels so panels have more explicit middleware-likeRob Hudson
methods to be more clear when panel processing happens.
2008-09-09Adding a `has_content` boolean to panels to avoid issues with checking ifRob Hudson
content exists and displaying it in the templates.
2008-09-07updating to pass around the request objectRob Hudson
2008-09-07adding a comment to note that panel subclasses should declare a nameRob Hudson
2008-09-07adding a name attribute to base panel since we are likely to put more stuff ↵Rob Hudson
in titles
2008-09-06The last commit missed an added method to the Panel base classRob Hudson
2008-08-27Initial commit of basic working Debug Toolbar (that needs a lot of CSS and ↵Rob Hudson
JS love)