Files
mayan-edms/mayan/settings/development_ddt.py
Roberto Rosario c3793699c5 Refactor the initial setting bootstrap code
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
2019-11-14 00:40:05 -04:00

17 lines
482 B
Python

from __future__ import absolute_import, unicode_literals
from .development import * # NOQA
# Stop debug toolbar patching!
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
DEBUG_TOOLBAR_PATCH_SETTINGS = False
if 'debug_toolbar' not in INSTALLED_APPS: # NOQA: F405
INSTALLED_APPS += ( # NOQA: F405
'debug_toolbar',
)
MIDDLEWARE_CLASSES = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
) + MIDDLEWARE_CLASSES # NOQA: F405