aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels
AgeCommit message (Collapse)Author
2011-04-22Merge branch 'develop' of git://github.com/robhudson/django-debug-toolbar ↵David Cramer
into robhudson-develop Conflicts: debug_toolbar/media/debug_toolbar/css/toolbar.css debug_toolbar/media/debug_toolbar/css/toolbar.min.css debug_toolbar/media/debug_toolbar/js/toolbar.min.js debug_toolbar/middleware.py debug_toolbar/panels/sql.py debug_toolbar/templates/debug_toolbar/base.html debug_toolbar/templates/debug_toolbar/panels/sql.html
2011-04-22first pass at a profiler panelDave McLain
2011-04-21Creating a profiling panel from the version panel for basic stuffDave McLain
2011-04-13Ensure we are verifying that template.name is present before running a ↵David Cramer
string check
2011-04-13Fix a bug with marking the last query in a transaction as the end of chainDavid Cramer
2011-04-08Stripped out logging of SQL queries from logging panel.Rob Hudson
2011-04-08Updated sql panel to include logging support.Rob Hudson
This matches Django's added logging support to the debug cursor.
2011-04-06Only mark starting a new transaction if new trans_id is setDavid Cramer
2011-04-06unset transaction id if we're not in a transactionDavid Cramer
2011-04-06Mark the correct query as ending the transactionDavid Cramer
2011-04-06Transaction id tracing is not specific to psycopg2David Cramer
2011-04-06Generate fake transaction ids so we can match up transaction end state correctlyDavid Cramer
2011-04-06SQL panel now guesses at Psycopg2 transactions (when autocommit swaps to in ↵David Cramer
trans and vice versa)
2011-04-06Added basic support for multi-db.Rob Hudson
Thanks to David Cramer, Ionel Cristian Mărieș, noah256, and Sander Steffann, who all supplied patches.
2011-04-05Add support for engine-per-query as well as pulling out psycopg2's isolation ↵David Cramer
level and transaction status
2011-03-31Add utilities to inject and monitor functions. Change DB tracking to use new ↵David Cramer
injection method on BaseDatabaseWrapper.cursor
2011-03-30Some initial tests and fix for execution modelDavid Cramer
2011-03-30Inject our SQL tracker on BaseDatabaseWrapper.cursor rather than discovering ↵David Cramer
different CursorWrapper's
2011-03-30Ensure we wrap all cursorsDavid Cramer
2011-03-28Store actual function as __wrapped__ instead of __wraps for Python 3.2 ↵David Cramer
compatibility
2011-03-28Fail gracefully when theres no queries on a pageDavid Cramer
2011-03-28SQL injection now happens without interfering with the underlying db.queries ↵David Cramer
objects (and no longer requires DEBUG to be set)
2011-03-24Remove debug printDavid Cramer
2011-03-24Fix for infinite math fail :)David Cramer
2011-03-24Much better coloring scaleDavid Cramer
2011-03-24basic color code grouping of db aliasesDavid Cramer
2011-03-24Only show connections which executed queries. Show number of used ↵David Cramer
connections in title
2011-03-24Add multi db support and summaries to SQL panelDavid Cramer
2011-03-23Overhaul SQL panel to include better timeline, more compact queries, and ↵David Cramer
better view of stacktrace
2011-03-22Fix issue with __name__ if a class-based view (i.e. a FormWizard) is usedRob Golding
If view_func doesn't have a __name__ attribute, then __class__.__name__ is tried instead. If that doesn't exist either, then '<unknown>' is used.
2011-03-03As it turns out, view_func is not always availableMathijs de Bruin
as a request attribute. This is especially true for 'fallback' type of views that are rendered from within middleware, such as the one used in Django's own flatpages.
2011-01-09Added support for executemany. Fixes issue #120postal2600
Signed-off-by: Rob Hudson <rob@cogit8.org>
2011-01-09Added support for LogBook. Thanks to Vincent Driessen for the idea andVincent Driessen
patch. Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-12-08Added clean_params method to DatabaseStatTracker to scrub non-unicodeMatthew J Morrison
data for displaying on the sql panel Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-09-07Fixed template block inheritance bug (issues 77 and 97)Rob Hudson
2010-04-07Revert "Start of splitting off data collection classes and panel classes."Rob Hudson
This reverts commit edf74beb6e26ed34779dff17240d2fb4c436d451.
2010-04-07Revert "Factor headers data out of HeaderDebugPanel."Rob Hudson
This reverts commit 4326cbbec13f44e6d8c757f1d07fd6100596bfb6.
2010-04-07Revert "Factor settings data out of SettingsVarsDebugPanel."Rob Hudson
This reverts commit 7e8a4e195d4b0e3cabf0742b31e087a81712d12f.
2010-04-07Revert "Factor versions data out of VersionDebugPanel."Rob Hudson
This reverts commit d05dcbb4aa93b1ce9d097ed8d537f06eb2491f5e.
2010-03-03Factor versions data out of VersionDebugPanel.Bryan Chow
2010-03-03Factor settings data out of SettingsVarsDebugPanel.Bryan Chow
2010-03-03Factor headers data out of HeaderDebugPanel.Bryan Chow
2010-03-03Start of splitting off data collection classes and panel classes.Rob Hudson
2010-01-22Escape invalid html in SQL queries.Gabriel
For example, a query containing a stray ampersand needs to be escaped. Signed-off-by: Rob Hudson <rob@cogit8.org>
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>
2010-01-14Cleaned up cache panel slightly.Chris Adams
* Removed unused import * .delete() referenced an undefined variable Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-01-08Print non-iterable template context layers as-isMikhail Korobov
Signed-off-by: Rob Hudson <rob@cogit8.org>
2010-01-09Fix issue #33: ensure force_unicode doesn't convert non-strings.Daniel Roseman
2009-11-27Replaced full repr of LANGUAGES to trim template context.Rob Hudson
2009-11-18Marked more strings for translation and updated 'fr' locale.David Jean Louis
Signed-off-by: Rob Hudson <rob@cogit8.org>