From ed0dacc502fa44867191f8f258b9e1aff616806f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 21 Jan 2014 00:28:07 +0100 Subject: [PATCH] mm revert --- example/sandbox/urls.py | 5 ----- telemeta/urls.py | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/example/sandbox/urls.py b/example/sandbox/urls.py index c2fb0b99..fb0665ee 100644 --- a/example/sandbox/urls.py +++ b/example/sandbox/urls.py @@ -27,8 +27,3 @@ urlpatterns = patterns('', (r'^i18n/', include('django.conf.urls.i18n')), (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict), ) - -if settings.DEBUG and 'debug_toolbar' in settings.INSTALLED_APPS: - import debug_toolbar - urlpatterns += patterns('', - url(r'^__debug__/', include(debug_toolbar.urls)),) \ No newline at end of file diff --git a/telemeta/urls.py b/telemeta/urls.py index b8ad6ada..8c664f1c 100644 --- a/telemeta/urls.py +++ b/telemeta/urls.py @@ -363,3 +363,8 @@ urlpatterns = patterns('', ) +if settings.DEBUG and 'debug_toolbar' in settings.INSTALLED_APPS: + import debug_toolbar + urlpatterns += patterns('', + url(r'^__debug__/', include(debug_toolbar.urls)),) + -- 2.39.5