We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cdf525 commit ff0b974Copy full SHA for ff0b974
debug_toolbar/__init__.py
@@ -1,12 +1,8 @@
1
-from debug_toolbar.urls import app_name
2
-
3
__all__ = ["VERSION"]
4
5
6
# Do not use pkg_resources to find the version but set it here directly!
7
# see issue #1446
8
VERSION = "3.2.4"
9
10
# Code that discovers files or modules in INSTALLED_APPS imports this module.
11
12
-urls = "debug_toolbar.urls", app_name
+urls = "debug_toolbar.urls", "djdt" # See debug_toolbar/urls.py
debug_toolbar/urls.py
@@ -1,4 +1,4 @@
from debug_toolbar.toolbar import DebugToolbar
-app_name = "djdt"
+app_name = "djdt" # See debug_toolbar/__init__.py
urlpatterns = DebugToolbar.get_urls()
0 commit comments