diff options
| author | Aymeric Augustin | 2013-11-12 22:40:20 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-12 22:40:20 +0100 | 
| commit | 1062d9cf878b4bdc6f0e0f6434668cd7eb289998 (patch) | |
| tree | e3e400deec4a8c772fbc025e9144b0a380715b43 /debug_toolbar/models.py | |
| parent | f48039e3bad9e24a59a25ed5636b428e11784da9 (diff) | |
| download | django-debug-toolbar-1062d9cf878b4bdc6f0e0f6434668cd7eb289998.tar.bz2 | |
Make it possible for panels to provide URLs and views.
Fix #448.
Diffstat (limited to 'debug_toolbar/models.py')
| -rw-r--r-- | debug_toolbar/models.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/debug_toolbar/models.py b/debug_toolbar/models.py index a204b13..ef1d012 100644 --- a/debug_toolbar/models.py +++ b/debug_toolbar/models.py @@ -5,6 +5,7 @@ from django.conf.urls import include, patterns, url  from django.core.urlresolvers import reverse, NoReverseMatch  from django.utils.importlib import import_module +import debug_toolbar  from debug_toolbar.middleware import DebugToolbarMiddleware @@ -50,7 +51,7 @@ def patch_root_urlconf():      except NoReverseMatch:          urlconf_module = import_module(settings.ROOT_URLCONF)          urlconf_module.urlpatterns += patterns('',                      # noqa -            url(r'^__debug__/', include('debug_toolbar.urls', namespace='djdt', app_name='djdt')), +            url(r'^__debug__/', include(debug_toolbar.urls)),          ) | 
