mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-12 13:26:47 +00:00
mailing
This commit is contained in:
parent
327a1c64bd
commit
f41e0e081d
2 changed files with 2 additions and 4 deletions
|
|
@ -42,4 +42,4 @@ def send_notification(subject, name, message): # , template="activation"):
|
||||||
@shared_task
|
@shared_task
|
||||||
def send_quotation(name, email):
|
def send_quotation(name, email):
|
||||||
""" Send quotation to customer """
|
""" Send quotation to customer """
|
||||||
send_confirmation_mail(name, email): # , template="welcome")
|
send_confirmation_mail(name, email) # : , template="welcome")
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ ADMINS = [
|
||||||
]
|
]
|
||||||
|
|
||||||
SECRET_KEY = os.environ.get('SECRET_KEY')
|
SECRET_KEY = os.environ.get('SECRET_KEY')
|
||||||
SECRET_KEY = "q00_4wqdc^n=7)p2lm)!gy&fms8md_b4#1aqysllvqq==2c9!$"
|
|
||||||
|
|
||||||
|
|
||||||
if os.environ.get('ENV') == 'PRODUCTION':
|
if os.environ.get('ENV') == 'PRODUCTION':
|
||||||
|
|
@ -147,8 +146,7 @@ EMAIL_USE_TLS = True
|
||||||
EMAIL_PORT = 587
|
EMAIL_PORT = 587
|
||||||
EMAIL_SUBJECT_PREFIX = "[VillaFleurieGuadeloupe] "
|
EMAIL_SUBJECT_PREFIX = "[VillaFleurieGuadeloupe] "
|
||||||
DEFAULT_FROM_EMAIL = "'Nilka, VillaFleurie' <location.villaFleurie@gmail.com>"
|
DEFAULT_FROM_EMAIL = "'Nilka, VillaFleurie' <location.villaFleurie@gmail.com>"
|
||||||
EMAIL_HOST_USER = "location.villafleurie@gmail.com"
|
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
|
||||||
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
|
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
|
||||||
EMAIL_HOST_PASSWORD = "location229818"
|
|
||||||
|
|
||||||
CELERY_BROKER_URL = "amqp://rabbitmq"
|
CELERY_BROKER_URL = "amqp://rabbitmq"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue