aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/sql.py
AgeCommit message (Collapse)Author
2011-09-15Remove any remaining uses of self.__class__ with superbkonkle
2011-09-15Edited all of the panels to use the stats API and not override the content ↵bkonkle
method
2011-09-12Cleaned up whitespace in the SQL and cache panelsbkonkle
2011-09-12Tweaked the sql panelbkonkle
2011-09-10Revert some of the previous changes and modify slightly the panels to ↵Yann Malet
separate the gneration of the stats and the generation of the content.
2011-09-09Revert some of the previous changes and modify slightly the panels to ↵Yann Malet
separate the gneration of the stats and the generation of the content.
2011-09-09If a stacktrace frame is not in the expected format, skip over itbkonkle
2011-07-12Merge pull request #175 from thinred/masterDavid Cramer
This adds a feature asked in issue #163
2011-06-16Fixing UnicodeEncodeError in sql panelMiguel Araujo Perez
2011-06-10Issue #163: SQL expand does show query fields now. So does clicking on bullets.Tomasz Buchert
2011-06-09Timeline width in SQL panel properly scaled.Tomasz Buchert
2011-05-16Remove trailing quotation in SQL stacktrace displayDavid Cramer
2011-04-13Fix a bug with marking the last query in a transaction as the end of chainDavid Cramer
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-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
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-09Fix issue #33: ensure force_unicode doesn't convert non-strings.Daniel Roseman
2009-11-18Marked more strings for translation and updated 'fr' locale.David Jean Louis
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-11-06Fixed incompatability with Python 2.4.Rob Hudson
2009-11-02Show context where SQL query originated from templateChris Lamb
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-22Added sqlparse, replacing my simple string replace SQL keywords and updatingRob Hudson
management command and SQL panel.
2009-09-12Merge remote branch 'alex/master'Rob Hudson
2009-09-12Fixed to only show the link for requesting the SELECT data if the query is aRob Hudson
SELECT query.
2009-09-11Added more SQL keywords.Rob Hudson
2009-09-10handle merge conflictsAlex Gaynor
2009-09-08Fixed an issue where the panel navigation might have a different number ofRob Hudson
queries than the panel pane if SQL queries happened in between calls. This caches the queries off in an array to be used in both places. If the possibility of queries happening elsewhere occurs, the SQL panel should probably be moved lower in the execution stack.
2009-08-28Refactored `reformat_sql` to produce a more compact output for a tighter ↵Rob Hudson
view of the SQL.
2009-08-28Refactored SQL panel to use datetime objects and added a visual display of ↵Rob Hudson
both duration and sequence to the SQL template.
2009-08-12added in-panel titleIdan Gazit
2009-08-12renamed title/subtitle -> nav_title/nav_subtitleIdan Gazit