diff options
| author | Percy Perez-Pinedo | 2009-07-20 15:46:57 -0700 |
|---|---|---|
| committer | Percy Perez-Pinedo | 2009-07-20 15:46:57 -0700 |
| commit | b7629d5768295131c35d613dbb16d9a070474c77 (patch) | |
| tree | f7557bdc972287765a0bb687c2fecf04ddd0718f /debug_toolbar/urls.py | |
| parent | 073ab2c8255ebc310a54e9f937b4b17f94f7eac2 (diff) | |
| parent | 4dc0710b6a5eedec0448909f6b90e55a4f3555d4 (diff) | |
| download | django-debug-toolbar-b7629d5768295131c35d613dbb16d9a070474c77.tar.bz2 | |
removing trans so we can merge for now
Diffstat (limited to 'debug_toolbar/urls.py')
| -rw-r--r-- | debug_toolbar/urls.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/debug_toolbar/urls.py b/debug_toolbar/urls.py index 77d1a80..77491e3 100644 --- a/debug_toolbar/urls.py +++ b/debug_toolbar/urls.py @@ -7,10 +7,12 @@ this into the urlconf for the request. from django.conf.urls.defaults import * from django.conf import settings +_PREFIX = '__debug__' + 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'), - url(r'^__debug__/template_source/$', 'debug_toolbar.views.template_source', name='template_source'), + url(r'^%s/m/(.*)$' % _PREFIX, 'debug_toolbar.views.debug_media'), + url(r'^%s/sql_select/$' % _PREFIX, 'debug_toolbar.views.sql_select', name='sql_select'), + url(r'^%s/sql_explain/$' % _PREFIX, 'debug_toolbar.views.sql_explain', name='sql_explain'), + url(r'^%s/sql_profile/$' % _PREFIX, 'debug_toolbar.views.sql_profile', name='sql_profile'), + url(r'^%s/template_source/$' % _PREFIX, 'debug_toolbar.views.template_source', name='template_source'), ) |
