2020-05-26 00:23:37 +00:00
|
|
|
from tests.app.settings import *
|
|
|
|
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
2020-06-15 05:04:48 +00:00
|
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
|
|
|
'HOST': 'postgres',
|
|
|
|
'NAME': 'birdsong',
|
|
|
|
'USER': 'birdsong_dev',
|
|
|
|
'PASSWORD': 'password',
|
2020-05-26 00:23:37 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2020-05-26 23:35:13 +00:00
|
|
|
ALLOWED_HOSTS = ['*']
|
2020-06-04 01:11:51 +00:00
|
|
|
|
|
|
|
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
|
|
|
EMAIL_HOST = 'mail'
|
|
|
|
EMAIL_PORT = 25
|
2020-06-04 04:07:09 +00:00
|
|
|
|
|
|
|
INSTALLED_APPS += [
|
|
|
|
'wagtail.contrib.styleguide'
|
2020-06-15 05:04:48 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
LOGGING = {
|
|
|
|
'version': 1,
|
|
|
|
'disable_existing_loggers': False,
|
|
|
|
'handlers': {
|
|
|
|
'console': {
|
|
|
|
'class': 'logging.StreamHandler',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'root': {
|
|
|
|
'handlers': ['console'],
|
|
|
|
'level': 'INFO',
|
|
|
|
},
|
|
|
|
}
|