JourneyJoker/localsettings.dist.py

56 lines
No EOL
1.2 KiB
Python

# 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"
# 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
# Email addresses of system administrators and managers
ADMINS = [
('Demo Admin', 'admin@example.com'),
]
MANAGERS = ADMINS + [
('Demo Manager', 'manager@example.com'),
]
# 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"
AWS_STORAGE_BUCKET_NAME = "AWS Bucket"
# Countries the app can be used in (currently no more than 5 due to Google Maps restrictions)
JOKER_COUNTRIES = ["AT"]
# Currency to use
CURRENCY_SYMBOL = ""
CURRENCY_CODE = "EUR"
CURRENCY_NAME = "Euro"
# Run time of inquiries in days
INQUIRY_RUNTIME = 7