Files
mayan-edms/mayan/settings/development_ddt.py
2018-10-12 03:10:56 -04:00

17 lines
440 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:
INSTALLED_APPS += (
'debug_toolbar',
)
MIDDLEWARE_CLASSES = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
) + MIDDLEWARE_CLASSES