carom-server/caromserver/local_settings_example.py

34 lines
852 B
Python

SECRET_KEY = '@-9++2z_6%^vr(f0wax0aq8-pd@0u$*))w!5l^sv#wxrn7k!v-'
DEBUG = False
ALLOWED_HOSTS = ['*']
ADMINS = [
('Robert Einsle', 'robert@einsle.de'),
]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'carom-dev',
'USER': 'carom-dev',
'PASSWORD': 'jex290bjDB4djf0iVKYs',
'HOST': '127.0.0.1',
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
},
}
}
STATIC_ROOT = "/srv/../staticfiles/"
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'mail.server.tld'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = "noreply@carom.de"
URL_LOCATION_PROCESSOR = 'https://<carom-server-tld>/billard/process_locationdata'
PRODUCT_INFO = 'carom'