aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/urls.py
diff options
context:
space:
mode:
authorRob Hudson2008-10-06 13:53:14 -0700
committerRob Hudson2008-10-06 13:53:46 -0700
commita3492e14765e3f898efc26913a8e8c4445a837b4 (patch)
treed171c7310fec4c71b39f38cfbbcd463401d2f9f2 /debug_toolbar/urls.py
parente9271bf69ab50cb24e38ac2205847c8d32b83ca8 (diff)
downloaddjango-debug-toolbar-a3492e14765e3f898efc26913a8e8c4445a837b4.tar.bz2
Adding query profiling for MySQL. Thanks to Simon Willison for the suggestion.
There's a big TODO on this one, which is to not display or attempt to execute the profiling SQL calls if this isn't MySQL and if MySQL isn't >= version 5.0.37. For now it's a nice playground of the profiler if you have MySQL v5.0.37 or higher.
Diffstat (limited to 'debug_toolbar/urls.py')
-rw-r--r--debug_toolbar/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_toolbar/urls.py b/debug_toolbar/urls.py
index 437d36b..53a426b 100644
--- a/debug_toolbar/urls.py
+++ b/debug_toolbar/urls.py
@@ -11,4 +11,5 @@ urlpatterns = patterns('',
url(r'^__debug__/m/(.*)$', 'debug_toolbar.views.debug_media'),
url(r'^__debug__/sql_select/$', 'debug_toolbar.views.sql_select', name='sql_select'),
url(r'^__debug__/sql_explain/$', 'debug_toolbar.views.sql_explain', name='sql_explain'),
+ url(r'^__debug__/sql_profile/$', 'debug_toolbar.views.sql_profile', name='sql_profile'),
)