Toggle debug toolbar setting
This commit is contained in:
parent
092c373f2a
commit
804dc0fb96
1 changed files with 9 additions and 8 deletions
|
@ -11,15 +11,16 @@ DATABASES = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
USE_DEBUG_TOOLBAR = True
|
||||||
INSTALLED_APPS += (
|
|
||||||
'debug_toolbar',
|
|
||||||
)
|
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
if USE_DEBUG_TOOLBAR:
|
||||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
INSTALLED_APPS += [
|
||||||
) + MIDDLEWARE_CLASSES
|
'debug_toolbar',
|
||||||
"""
|
]
|
||||||
|
|
||||||
|
MIDDLEWARE_CLASSES = (
|
||||||
|
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||||
|
) + MIDDLEWARE_CLASSES
|
||||||
|
|
||||||
INTERNAL_IPS = ['127.0.0.1']
|
INTERNAL_IPS = ['127.0.0.1']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue