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.
2 parents 591ac03 + 9eb8932 commit 5353ba6Copy full SHA for 5353ba6
debug_toolbar/apps.py
@@ -9,8 +9,6 @@
9
from django.utils.module_loading import import_string
10
from django.utils.translation import ugettext_lazy as _
11
12
-from debug_toolbar.middleware import DebugToolbarMiddleware
13
-
14
15
class DebugToolbarConfig(AppConfig):
16
name = 'debug_toolbar'
@@ -19,6 +17,8 @@ class DebugToolbarConfig(AppConfig):
19
17
20
18
@register
21
def check_middleware(app_configs, **kwargs):
+ from debug_toolbar.middleware import DebugToolbarMiddleware
+
22
errors = []
23
gzip_index = None
24
debug_toolbar_index = None
0 commit comments