aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels
AgeCommit message (Collapse)Author
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.
2008-12-09Minor cleanup and template change to previous commit.Rob Hudson
2008-12-09Added more of the rusage stats in a drop-down panelMartin Maney
(some items were commented out after I was reminded that not all of the original BSD items are supported under Linux)
2008-12-09Added fine-grained CPU usage to timerMartin Maney
2008-12-09Fix the number of queries shown in the title, which was overreporting by ↵Adam Gomaa
self._offset (sometimes 0).
2008-12-09Only show the SQL profile if we're using a MySQL database backend.Rob Hudson
2008-12-09Django seems to only produce LEFT OUTER JOINs, so search for that.Rob Hudson
2008-10-07Fix inconsistent SQL timings. All SQL timings are milliseconds now.Rob Hudson
2008-10-07Since we're concatenating params, make the default empty value a string.Rob Hudson
2008-10-07Bringing over patch from Alex Gaynor to fix SQL params when using ↵Rob Hudson
django.contrib.gis.
2008-10-06Updating SQL output a bit now that I've found more queries to test against.Rob Hudson
2008-10-02Merge template path update from 'alex/master'. Thanks!Rob Hudson
2008-10-02Merging in new settings panel from 'binarydud/master'. Thanks!Rob Hudson
2008-10-01used os.path.normpath on templatdirs, this makes it looks cleaner, ↵Alex Gaynor
particularly removing ...
2008-09-30added settings var panelMatt George
(cherry picked from commit fdf77eea58887f68c210c7a77218e2fa6d5a86af)