From: Guillaume Pellerin Date: Mon, 20 Jan 2014 23:28:07 +0000 (+0100) Subject: mm revert X-Git-Tag: 1.4.6~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ed0dacc502fa44867191f8f258b9e1aff616806f;p=telemeta.git mm revert --- 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)),) +