JourneyJoker/localsettings.dist.py

64 lines
1.4 KiB
Python
Raw Normal View History

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 = ["*"]
# PostgreSQL server settings
DB_HOST = "postgresql.server"
DB_PORT = 5432
DB_NAME = "postgresql_database"
DB_USER = "postgresql_username"
DB_PASS = "postgresql_password"
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"
# Email addresses of system administrators and managers
2021-03-23 18:23:04 +00:00
ADMINS = [
('Demo Admin', 'admin@example.com'),
]
MANAGERS = ADMINS + [
('Demo Manager', 'manager@example.com'),
]
2021-05-30 05:44:01 +00:00
# Default addresses to BCC messages to
DEFAULT_BCC_EMAILS = []
# 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"
CURRENCY_NAME = "Euro"
# Run time of inquiries in days
INQUIRY_RUNTIME = 7