aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels
AgeCommit message (Collapse)Author
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
2009-09-25Merge commit 'rob/master'Alex Gaynor
2009-09-25Fixed template panel bug that caused the context to not display correctly.Rob Hudson
2009-09-24Fixed a bug, recently introduced, that turned the sessions list into a tuple ofRob Hudson
that list which broke rendering of sessions in the Request Vars panel.
2009-09-23Merge commit 'rob/master'Alex Gaynor
2009-09-22Added sqlparse, replacing my simple string replace SQL keywords and updatingRob Hudson
management command and SQL panel.
2009-09-18Made the versions panel more powerfulAlex Gaynor
2009-09-15Allow request vars to work even with disabled session middleware.Augie Fackler
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-25added spanish translation of the panels nav titlePercy Perez-Pinedo
2009-08-12oops, retitled templates panelIdan Gazit
2009-08-12Proper handling of template panel titleIdan Gazit
2009-08-12added in-panel titleIdan Gazit
2009-08-12renamed title/subtitle -> nav_title/nav_subtitleIdan Gazit
2009-08-11allow for handling the pathological case of an insanely large template contextAlex Gaynor
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.
2009-08-10Merge commit 'origin/master'Alex Gaynor
2009-08-10Show the number of rendered templates in the toolbar.Alex Gaynor
2009-07-28Merge commit 'rob/master'Alex Gaynor
2009-07-28Bypass context variables which 'repr' is broken.Mike Korobov
Signed-off-by: Rob Hudson <rob@tastybrew.com>
2009-06-16Merge commit 'origin/master'Alex Gaynor
2009-06-16provide an option to see stuff indjango in the sql stack traceAlex Gaynor
2009-06-16only conditionally include the Django 1.1 signal for backwards compatibilityAlex Gaynor
Signed-off-by: Rob Hudson <rob@tastybrew.com>
2009-06-12only conditionally include the Django 1.1 signal for backwards compatibilityAlex Gaynor
2009-05-27Adding a signals panel to display list of signals and their providing argumentsAlex Gaynor
and receivers. Thanks Alex Gaynor! Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Adding stack traces to SQL panel to see where the calls are coming from.Rob Hudson
Merge branch 'sql_stacktrace' * sql_stacktrace: Tuple unpacking of stacktrace variables for niceness. Add preliminary support for stacktraces to see where SQL queries are coming from.
2009-03-21Tidied up SQL formatting in SQL panel.Malcolm Tredinnick
Added formatting of "GROUP BY" and "HAVING", which now show up in trunk queries and could have shown up previously if manually patched into the QuerySet.query instance. Also indent joined tables a bit more underneath the "FROM" statement: they are sub-statements of "FROM". Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Fixed "FROM" formatting in SQL panel layout.Malcolm Tredinnick
We always start a new line for "FROM" now. Previous code was assuming MySQL quoting of identifiers (MySQL is a bit non-standard in using backquotes) and was assuming the last thing before the FROM would be a quoted identifier, which wasn't always true, particularly when extra() is used on querysets. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-01-23Add preliminary support for stacktraces to see where SQL queries are coming ↵Rob Hudson
from. I'm wanting to test this a bit more before I merge it in fully. Feedback welcome.
2009-01-23Fix triggering an extra SQL query via the auth context processor.Rob Hudson
Fixed by moving the template panel's context_processor introspection to the content method so this happens at the process_response time instead of at process_request time. Since context processors _were_ happening at the process_response end, it was triggering the query `user.get_and_delete_messages()` which was also getting triggered separately if used in templates (i.e. the admin templates) resulting in duplicate queries showing up in the toolbar.
2008-12-11Win32 systems don't have the resource module. This patch codes around it so ↵Rob Hudson
only the basic timings are shown for those that don't have the resource module, and finer grained timings are shown for those that do.