aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/urls.py
blob: 60d64243a1ef35a449952b071f5fc3382dfd1f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
URLpatterns for the debug toolbar.

These should not be loaded explicitly; the debug toolbar middleware will patch
this into the urlconf for the request.
"""
from django.conf.urls.defaults import *

_PREFIX = '__debug__'

urlpatterns = patterns('debug_toolbar.views',
    url(r'^%s/sql_select/$' % _PREFIX, 'sql_select', name='sql_select'),
    url(r'^%s/sql_explain/$' % _PREFIX, 'sql_explain', name='sql_explain'),
    url(r'^%s/sql_profile/$' % _PREFIX, 'sql_profile', name='sql_profile'),
    url(r'^%s/template_source/$' % _PREFIX, 'template_source', name='template_source'),
)