Skip to content

Dev

hypha.settings.dev

DEBUG module-attribute

DEBUG = True

RELOAD module-attribute

RELOAD = True

SECRET_KEY module-attribute

SECRET_KEY = 'CHANGEME!!!'

WAGTAIL_CACHE module-attribute

WAGTAIL_CACHE = False

ALLOWED_HOSTS module-attribute

ALLOWED_HOSTS = ['apply.localhost', 'localhost', '127.0.0.1', 'hypha.test']

WAGTAILADMIN_BASE_URL module-attribute

WAGTAILADMIN_BASE_URL = 'http://localhost:8000'

EMAIL_BACKEND module-attribute

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

AUTH_PASSWORD_VALIDATORS module-attribute

AUTH_PASSWORD_VALIDATORS = []

INSTALLED_APPS module-attribute

INSTALLED_APPS = INSTALLED_APPS + ['wagtail.contrib.styleguide']

SECURE_SSL_REDIRECT module-attribute

SECURE_SSL_REDIRECT = False

LOCAL_FILE_LOGGING module-attribute

LOCAL_FILE_LOGGING = False

LOCAL_FILE_EMAIL module-attribute

LOCAL_FILE_EMAIL = False

EMAIL_FILE_PATH module-attribute

EMAIL_FILE_PATH = BASE_DIR + '/var/mail'

LOGGING module-attribute

LOGGING = {'version': 1, 'disable_existing_loggers': True, 'formatters': {'standard': {'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s', 'datefmt': '%Y-%m-%d %H:%M:%S'}}, 'handlers': {'null': {'level': 'DEBUG', 'class': 'logging.NullHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', 'filename': BASE_DIR + '/var/log/debug.log', 'maxBytes': 1000000, 'backupCount': 2, 'formatter': 'standard'}}, 'loggers': {'django': {'handlers': ['logfile'], 'level': 'INFO', 'propagate': True}, 'django.db.backends': {'handlers': ['logfile'], 'level': 'INFO', 'propagate': False}, 'django.request': {'handlers': ['logfile'], 'level': 'DEBUG', 'propagate': False}, 'django.template': {'handlers': ['logfile'], 'level': 'INFO', 'propagate': False}, 'django.security': {'handlers': ['logfile'], 'level': 'DEBUG', 'propagate': False}, 'wagtail': {'handlers': ['logfile'], 'level': 'DEBUG'}, 'hypha': {'handlers': ['logfile'], 'level': 'DEBUG'}}}

MIDDLEWARE module-attribute

MIDDLEWARE = ['debug_toolbar.middleware.DebugToolbarMiddleware', *MIDDLEWARE]

INTERNAL_IPS module-attribute

INTERNAL_IPS = ['127.0.0.1']

DEBUG_TOOLBAR_CONFIG module-attribute

DEBUG_TOOLBAR_CONFIG = {'DISABLE_PANELS': {'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.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel', 'debug_toolbar.panels.profiling.ProfilingPanel'}, 'SHOW_COLLAPSED': True}