|
|
|
@ -219,13 +219,17 @@ WALLET_PASS = os.environ.get('WALLET_PASS', '')
|
|
|
|
|
|
|
|
|
|
# Email info
|
|
|
|
|
|
|
|
|
|
DEFAULT_FROM_EMAIL = f'{SITE_NAME} <noreply@xmrauctions.com>'
|
|
|
|
|
# EMAIL_HOST = os.environ.get('EMAIL_HOST', None)
|
|
|
|
|
# EMAIL_PORT = os.environ.get('EMAIL_PORT', None)
|
|
|
|
|
# EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', None)
|
|
|
|
|
# EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', None)
|
|
|
|
|
# EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD', None)
|
|
|
|
|
SENDGRID_API_KEY = os.environ.get('SENDGRID_API_KEY', False)
|
|
|
|
|
if SENDGRID_API_KEY:
|
|
|
|
|
EMAIL_BACKEND = 'sendgrid_backend.SendgridBackend'
|
|
|
|
|
else:
|
|
|
|
|
EMAIL_BACKEND = os.environ.get('EMAIL_BACKEND', 'django.core.mail.backends.console.EmailBackend')
|
|
|
|
|
EMAIL_FROM = 'noreply@xmrauctions.net'
|
|
|
|
|
EMAIL_HOST = os.environ.get('EMAIL_HOST', None)
|
|
|
|
|
EMAIL_PORT = os.environ.get('EMAIL_PORT', None)
|
|
|
|
|
EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', None)
|
|
|
|
|
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', None)
|
|
|
|
|
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD', None)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# CORS
|
|
|
|
|