aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/middleware.py
diff options
context:
space:
mode:
authorJannis Leidel2012-03-19 14:53:40 +0100
committerJannis Leidel2012-03-19 14:53:40 +0100
commit5a9cdc735b8f15d511ea3ecb0debc14e358f7ce5 (patch)
treee885325dc5446d0f8b5a6eddcbd8f6bf4edad694 /debug_toolbar/middleware.py
parent3f2a3bd5486558df1438ad0034883caeeec3166e (diff)
parent8059454b8b478104f0b736f873ec8bb5e6cb88cd (diff)
downloaddjango-debug-toolbar-5a9cdc735b8f15d511ea3ecb0debc14e358f7ce5.tar.bz2
Merge branch 'master' of https://github.com/django-debug-toolbar/django-debug-toolbar
Diffstat (limited to 'debug_toolbar/middleware.py')
-rw-r--r--debug_toolbar/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/middleware.py b/debug_toolbar/middleware.py
index 3009b5f..6ea13fc 100644
--- a/debug_toolbar/middleware.py
+++ b/debug_toolbar/middleware.py
@@ -82,7 +82,7 @@ class DebugToolbarMiddleware(object):
if urlconf not in self._urlconfs:
new_urlconf = imp.new_module('urlconf')
new_urlconf.urlpatterns = debug_toolbar.urls.urlpatterns + \
- urlconf.urlpatterns
+ list(urlconf.urlpatterns)
if hasattr(urlconf, 'handler404'):
new_urlconf.handler404 = urlconf.handler404