aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels
AgeCommit message (Collapse)Author
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>
2009-11-06Updated view info to be horizontal tabular.Rob Hudson
2009-11-06Show view name and arguments and keyword arguments in the request vars panel.Alex Gaynor
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-11-06Fixed incompatability with Python 2.4.Rob Hudson
2009-11-02Merge branch 'master' of github.com:robhudson/django-debug-toolbarRob Hudson
2009-11-02Merge branch 'master' into tx-masterRob Hudson
Conflicts: debug_toolbar/locale/he/LC_MESSAGES/django.po debug_toolbar/templates/debug_toolbar/panels/versions.html
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-11-02kill whitespaceAlex Gaynor
2009-11-02detect versions for other installed applicationsAlex Gaynor
2009-11-02Made the versions panel more powerfulAlex Gaynor
2009-11-03Small i18n change in template panelJannis Leidel
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-10-16Added detection and display of versions of apps.Alex Gaynor
Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-30Template panel: Replace the sql_queries element from the template context ↵Chris Beaven
rather than removing it. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-30Template panel: One letter variable names are bad practice, changed to use ↵Chris Beaven
some more informative variable names. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-30Template panel: Remove unnecessary large elements from each template context ↵Chris Beaven
(request and sql_queries) Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-09-25kill whitespaceAlex Gaynor
2009-09-25detect versions for other installed applicationsAlex Gaynor