Files
mayan-edms/mayan/settings/development_ddt.py
Roberto Rosario 4b727662ef Settings: Update MIDDLEWARE_CLASSES to MIDDLEWARE
Update mentions of MIDDLEWARE_CLASSES to MIDDLEWARE in the
development and testing settings.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2018-11-25 02:15:50 -04:00

17 lines
424 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 = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
) + MIDDLEWARE