content.py 1.06 KB
Newer Older
1 2 3 4
"""
These are debug machines used for content creators, so they're kind of a cross
between dev machines and AWS machines.
"""
5 6 7

# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
8
# pylint: disable=wildcard-import, unused-wildcard-import
9

10
from .aws import *
11 12 13 14 15

DEBUG = True
TEMPLATE_DEBUG = True

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
16 17

################################ DEBUG TOOLBAR #################################
Calen Pennington committed
18
INSTALLED_APPS += ('debug_toolbar',)
19 20 21
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)

DEBUG_TOOLBAR_PANELS = (
22 23 24 25 26 27 28 29 30
    'debug_toolbar.panels.versions.VersionsPanel',
    'debug_toolbar.panels.timer.TimerPanel',
    'debug_toolbar.panels.settings.SettingsPanel',
    'debug_toolbar.panels.headers.HeadersPanel',
    'debug_toolbar.panels.request.RequestPanel',
    'debug_toolbar.panels.sql.SQLPanel',
    'debug_toolbar.panels.signals.SignalsPanel',
    'debug_toolbar.panels.logging.LoggingPanel',
    'debug_toolbar.panels.profiling.ProfilingPanel',
31
)