dynamicweb/dynamicweb/settings/prod.py

36 lines
912 B
Python
Raw Normal View History

2017-08-03 22:00:41 +05:30
from .base import * # flake8: noqa
2017-06-03 15:56:36 +02:00
# List of people that get admin messages
ADMINS = ((x, x + "@ungleich.ch") for x in ["web-team"])
2016-05-08 01:04:03 +00:00
DEBUG = False
2016-06-16 01:19:40 -05:00
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
2017-07-04 21:00:00 +02:00
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
}
# MANAGERS = ADMINS
REGISTRATION_MESSAGE['message'] = REGISTRATION_MESSAGE['message'].format(host='digitalglarus.ch',
slug='{slug}') # flake8: noqa
2016-05-07 23:05:46 +02:00
ALLOWED_HOSTS = [
".ungleich.ch",
2017-06-05 12:29:27 +02:00
".datacenterlight.ch",
".rails-hosting.ch",
".django-hosting.ch",
".node-hosting.ch",
".devuanhosting.ch",
".digitalezukunft.ch",
".ipv6onlyhosting.ch",
".ipv6onlyhosting.com",
".ipv6onlyhosting.net",
".digitalglarus.ch",
".hack4glarus.ch"
]