aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug_toolbar/__init__.py')
-rw-r--r--debug_toolbar/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug_toolbar/__init__.py b/debug_toolbar/__init__.py
index 12a7fc8..7ebd1c7 100644
--- a/debug_toolbar/__init__.py
+++ b/debug_toolbar/__init__.py
@@ -11,7 +11,7 @@ except Exception:
VERSION = 'unknown'
-from .toolbar import DebugToolbar
+# Code that discovers files or modules in INSTALLED_APPS imports this module.
+# Reference URLpatterns with a string to avoid the risk of circular imports.
-
-urls = DebugToolbar.get_urls(), 'djdt', 'djdt'
+urls = 'debug_toolbar.toolbar', 'djdt', 'djdt'