carom-server/caromserver/local_settings_example.py

34 lines
852 B
Python
Raw Normal View History

2018-02-10 16:20:50 +01:00
SECRET_KEY = '@-9++2z_6%^vr(f0wax0aq8-pd@0u$*))w!5l^sv#wxrn7k!v-'
2020-06-10 12:50:59 +02:00
DEBUG = False
ALLOWED_HOSTS = ['*']
ADMINS = [
('Robert Einsle', 'robert@einsle.de'),
]
2018-02-10 16:20:50 +01:00
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'"
2020-06-10 12:50:59 +02:00
},
2018-02-10 16:20:50 +01:00
}
}
2020-06-10 12:50:59 +02:00
STATIC_ROOT = "/srv/../staticfiles/"
2018-02-10 16:20:50 +01:00
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
2020-06-10 12:50:59 +02:00
EMAIL_HOST = 'mail.server.tld'
2018-02-10 16:20:50 +01:00
EMAIL_PORT = 587
2020-06-10 12:50:59 +02:00
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
2018-02-10 16:20:50 +01:00
EMAIL_USE_TLS = True
2020-06-10 12:50:59 +02:00
DEFAULT_FROM_EMAIL = "noreply@carom.de"
2018-02-10 16:20:50 +01:00
2020-06-10 12:50:59 +02:00
URL_LOCATION_PROCESSOR = 'https://<carom-server-tld>/billard/process_locationdata'
2018-02-10 16:20:50 +01:00
2020-06-10 12:50:59 +02:00
PRODUCT_INFO = 'carom'