2021-03-23 18:23:04 +00:00
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
|
|
|
SECRET_KEY = 'longsecretstring!'
|
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
|
DEBUG = True
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = ["*"]
|
|
|
|
|
2021-11-07 10:26:55 +00:00
|
|
|
# MySQL/MariaDB server settings
|
2021-03-23 18:23:04 +00:00
|
|
|
|
2021-11-07 10:26:55 +00:00
|
|
|
DB_HOST = "sql.server"
|
|
|
|
DB_PORT = 3306
|
|
|
|
DB_NAME = "sql_database"
|
|
|
|
DB_USER = "sql_username"
|
|
|
|
DB_PASS = "sql_password"
|
2021-03-23 18:23:04 +00:00
|
|
|
|
2021-05-29 03:01:25 +00:00
|
|
|
# Mail server settings
|
|
|
|
|
|
|
|
EMAIL_HOST = "mail.server"
|
|
|
|
EMAIL_PORT = None
|
|
|
|
EMAIL_HOST_USER = "mail_username"
|
|
|
|
EMAIL_HOST_PASSWORD = "mail_password"
|
|
|
|
EMAIL_USE_TLS = False
|
|
|
|
EMAIL_USE_SSL = True
|
|
|
|
|
2021-05-30 05:44:01 +00:00
|
|
|
# Email address to send outgoing mail from by default
|
|
|
|
|
|
|
|
DEFAULT_FROM_EMAIL = "noreply@example.com"
|
|
|
|
|
2021-05-27 04:31:57 +00:00
|
|
|
# Email addresses of system administrators and managers
|
2021-03-23 18:23:04 +00:00
|
|
|
|
2021-05-27 04:31:57 +00:00
|
|
|
ADMINS = [
|
|
|
|
('Demo Admin', 'admin@example.com'),
|
|
|
|
]
|
|
|
|
|
|
|
|
MANAGERS = ADMINS + [
|
|
|
|
('Demo Manager', 'manager@example.com'),
|
|
|
|
]
|
2021-04-11 14:19:43 +00:00
|
|
|
|
2021-05-30 05:44:01 +00:00
|
|
|
# Default addresses to BCC messages to
|
|
|
|
|
|
|
|
DEFAULT_BCC_EMAILS = []
|
|
|
|
|
2021-04-11 14:19:43 +00:00
|
|
|
# S3 Bucket Configuration (add options as documented at https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html)
|
|
|
|
|
|
|
|
ENABLE_S3_STORAGE = False
|
|
|
|
|
|
|
|
AWS_ACCESS_KEY_ID = "AWS Key ID"
|
|
|
|
AWS_SECRET_ACCESS_KEY = "AWS Secret Key"
|
2021-04-17 06:30:26 +00:00
|
|
|
AWS_STORAGE_BUCKET_NAME = "AWS Bucket"
|
|
|
|
|
|
|
|
# Countries the app can be used in (currently no more than 5 due to Google Maps restrictions)
|
|
|
|
|
2021-04-18 14:46:57 +00:00
|
|
|
JOKER_COUNTRIES = ["AT"]
|
|
|
|
|
|
|
|
# Currency to use
|
|
|
|
|
|
|
|
CURRENCY_SYMBOL = "€"
|
|
|
|
CURRENCY_CODE = "EUR"
|
2021-04-20 06:36:59 +00:00
|
|
|
CURRENCY_NAME = "Euro"
|