Newer
Older
# Settings for a test GraceDB instance.
# Starts with base.py settings and overrides or adds to them.
from .base import *

Branson Craig Stephens
committed

Branson Craig Stephens
committed
DEBUG = True
# Don't let django-debug-toolbar edit settings

Branson Craig Stephens
committed
DEBUG_TOOLBAR_PATCH_SETTINGS = False
# Override EMBB email address
# TP (8 Aug 2017): not sure why?
EMBB_MAIL_ADDRESS = 'gracedb@{fqdn}'.format(fqdn=SERVER_FQDN)

Branson Craig Stephens
committed
# Add middleware
MIDDLEWARE += [
'debug_toolbar.middleware.DebugToolbarMiddleware',

Branson Craig Stephens
committed
#'middleware.profiling.ProfileMiddleware',
]
# Add to installed apps

Branson Craig Stephens
committed
# Tuple of IPs which are marked as internal, useful for debugging
# Changed to a list in Django 1.9+