Skip to content

Commit

Permalink
fix(adp): add settings to EMAIL
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Oct 24, 2024
1 parent 4e8e868 commit 527c1c8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion app/adp/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,20 @@

MEDIA_URL = f"https://{AWS_S3_CUSTOM_DOMAIN}/{PUBLIC_MEDIA_LOCATION}/"

DEFAULT_FILE_STORAGE = "project.storages.PublicMediaStorage"
DEFAULT_FILE_STORAGE = "project.storages.PublicMediaStorage"


# Configurações de e-mail
DEFAULT_FROM_EMAIL = env("DEFAULT_FROM_EMAIL", default="Suporte <[email protected]>")

EMAIL_HOST = env("SMTP_HOST", default="localhost")

EMAIL_PORT = env("SMTP_PORT", default=1025)

EMAIL_HOST_USER = env("SMTP_USER", default="")

EMAIL_HOST_PASSWORD = env("SMTP_PASS", default="")

EMAIL_USE_TLS = env("SMTP_USE_TLS", default=False)

EMAIL_USE_SSL = env("SMTP_USE_SSL", default=False)

0 comments on commit 527c1c8

Please sign in to comment.