aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/urls.py
blob: 1a6daf81789fac02b69ae31d97a8214e6e2c0e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
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 __future__ import unicode_literals

from django.conf.urls import patterns, url

_PREFIX = '__debug__'

urlpatterns = patterns('debug_toolbar.views',                           # noqa
    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'),
)