]> git.parisson.com Git - telemeta.git/commitdiff
toobar goes to local urls
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 20 Jan 2014 23:24:40 +0000 (00:24 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 20 Jan 2014 23:24:40 +0000 (00:24 +0100)
example/sandbox/urls.py
telemeta/urls.py

index fb0665ee7a2b96589e405b95f34b0e0d56defc6f..c2fb0b990c92d04443145ceeb233bc4bf259c724 100644 (file)
@@ -27,3 +27,8 @@ 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
index 90ec771e359397a2064b7bfee3d1c9f3fc123545..b8ad6adaf22037c2af4025260cedc9fafe69214c 100644 (file)
@@ -363,8 +363,3 @@ urlpatterns = patterns('',
 
 )
 
-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