Revert "Clean up config.py"

This reverts commit 75ebd7aaae.
develop
esensar 2018-10-22 19:47:41 +02:00
parent ca326667f5
commit 11600d0cdd
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,6 @@ CELERY_BROKER_URL = os.environ['REDIS_URL']
CELERY_RESULT_BACKEND = os.environ['REDIS_URL'] CELERY_RESULT_BACKEND = os.environ['REDIS_URL']
# Mailer config # Mailer config
SMTP_LOGIN = os.environ['MAILGUN_SMTP_LOGIN']
SMTP_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD']
MAIL_SERVER = os.environ['MAILGUN_SMTP_SERVER'] MAIL_SERVER = os.environ['MAILGUN_SMTP_SERVER']
MAIL_PORT = os.environ['MAILGUN_SMTP_PORT'] MAIL_PORT = os.environ['MAILGUN_SMTP_PORT']
MAIL_USE_TLS = True MAIL_USE_TLS = True
@ -53,6 +51,8 @@ MAIL_DEBUG = False
# gmail authentication # gmail authentication
MAIL_USERNAME = os.environ['MAILGUN_SMTP_LOGIN'] MAIL_USERNAME = os.environ['MAILGUN_SMTP_LOGIN']
MAIL_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD'] MAIL_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD']
SMTP_LOGIN = os.environ['MAILGUN_SMTP_LOGIN']
SMTP_PASSWORD = os.environ['MAILGUN_SMTP_PASSWORD']
# mail accounts # mail accounts
MAIL_DEFAULT_SENDER = 'final.iot.backend.mailer@gmail.com' MAIL_DEFAULT_SENDER = 'final.iot.backend.mailer@gmail.com'